Just had a thought about this...

Why hasn't other programming languages adopted some of actionscript's techniques and coding style? It would be awsome if Java or C++ had an eval command or was able to call functions and methods by using variable names "[varName].sayHello()".
Also, why don't java and C++ do what actionscript and php do to variables that have not been initialized and make them default, and then convert them to numbers/strings when needed?


And why hasn't flash adopted some of C++ and Java things? For example, arrays and functions? Like why is creating a function in actionscript different? I'd like to call a function void or tell what type of variable it returns. In a way I like how flash makes it so you can return a variable even if you didn't say that the function does because it auto detects. I want Java and C to do this .

There are lots of other mini things but I can't remember them right now...


I'm sure there is an answer to this and I'm just too naive to think about it but I was just speaking my mind.