Summary

 <  Day Day Up  >  

Interfaces can add a great deal of structure and uniformity to an application and, at the same time, allow us to use polymorphism, which is one of the great features of an OOP language. It does, however, require a great deal of forethought and application architecture before you even write one single line of code.

The benefits of interfaces can best be seen in a large application with many diverse elements. When you are analyzing a business problem and find yourself redefining that same functionality in many different places, you may want to consider an interface. Using an interface also allows you to abstract the details of an implementation so that you can complete one area of programming without knowing or caring about the others defined in the interface.

 <  Day Day Up  >  


Object-Oriented Programming with ActionScript 2.0
Object-Oriented Programming with ActionScript 2.0
ISBN: 0735713804
EAN: 2147483647
Year: 2004
Pages: 162

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net