The things I learned today

Wednesday, July 06, 2005

Mix-in classes

Flash took the Decorator pattern with its EventDispatcher class to "mix in" the event dispatching functionalities into your classes, while other language use multiple inheritance. For more about mixin, read the links below:

http://www.homoexcelsior.com/omega.db/datum/computer_science/mixin_class/8524
http://csis.pace.edu/~bergin/patterns/multipleinheritance.html
http://delivery.acm.org/10.1145/640000/638483/p25-brown.pdf?key1=638483&key2=5345960211&coll=GUIDE&dl=GUIDE&CFID=48094841&CFTOKEN=7067058

0 Comments:

Post a Comment

<< Home