3 ms·
I am surprised by ActionScript being high on the list. It gives you everything that is very decent about JavaScript, with the classical OO that everyone seems t
by emehrkay 15y ago
I am surprised by ActionScript being high on the list. It gives you everything that is very decent about JavaScript, with the classical OO that everyone seems to love. If you do any Java or Python, you should be able to get right into AS
- Tichy 15y agoThat sounds weird, given that Java and Python are almost antitheses of each other. So ActionScript somehow manages to meet two entirely different philosophies in the middle?
- emehrkay 15y agoI havent used Python and Java a lot, but Python seems like a more laid back Java. Add static types, get rid of functions, and one class per file, and you almost have Java. In ActionScript everything is an Java-like object. Adobe decided to implement the unfinished ES5 draft where you have JavaScript with "classes," they also put the Java-like limitations of one class per file/package, and having classes do almost everything (instead of functions). If a Java gal went to AS she'd, optionally, want to incorporate closures as a tool. You can approach Python lot like you would JavaScript -- some functions, some classes, passing around functions/classes as arguments, closures, etc. (I bet that I could replace my JS with Python pretty easily if browsers supported it). If a Python guy goes to AS all he'd really have to do is add types, put every class in its own file, and drop functions (in a few cases). I wouldnt necessarily say that it meshes the two together, but I do feel that anyone who is comfortable with either Java or Python could be very productive with Actionscript in a short time because of how tightly loose it is, lol.