13. Conclusion
ActionScript 2.0 offers many new enhancements that are beneficial to
developers building applications. Although AS2.0 stil compiles down to
AS1.0 and thus has a prototype-based language under the hood, the new
syntax frees the programmer from messing with the prototype (in most cases)
and encapsulates the mechanism of inheritance. Type checking offers compile-time
error messages that help locate hard-to-find bugs. The true benefit of
ActionScript 2.0 is cleaner and more organized code, and it brings ActionScript
one step closer to being a true class-based object-oriented language.
|