Class and Interfaces in AS226 Sep 2003
I have been doing some experiments with AS2 and I find it neat and clean.
It gives higher level of abstraction of AS1 based OO programming.
We used to declare Custom classes using same 'function' keyword which we used for normal functions/method. It made many of us confuse atleast one time.
But now with new 'class' keyword we don't need more prototype or __proto__ hacks for normal projects.
Infact AS2 has brought us near to Java Developers. Syntax of this AS2 is similar to Java, i would call it subset of Java.
We have class, interaface, extends, static, public/private, exception handling like features in AS2 now.
i have done some experiments, will post here soon.