On Feb 14, 2006, at 7:37 AM, SamFeltus wrote:
Anyways, it bypasses all that JavaScript and HTML stuff. ( JavaScript in my minority opinion being an inferior version of ActionScript, open source issues aside ).
That's not really true. ActionScript's eval is not the same as JavaScript's, so you cant add new code to the system at runtime that is not precompiled... this precludes writing an AS interpreter in AS, which is incredibly useful for debugging if nothing else.
AS1 is horribly broken because it doesn't (didn't?) support closures properly, and I think its string comparison was broken too. AS2 fixes most of these problems, but all the manifest typing is hand- waving because it doesn't actually provide you with anything until AS3, where it provides some performance enhancements.
I guess AS2 is better than the intersection of all features and the union of all bugs in common HTML+JS platforms, but it doesn't hold up so well if you compare it to a particular implementation like Rhino or SpiderMonkey.
-bob

