Mixins are powerful programming concept in dynamic languages because they allow you to implements aspects of classes in different places and then "plug" them together. For example, the "tree" aspect of a data structure (something having parents and children) is well understood. A lot of data can be arranged in hierarchic trees. Yet, in many languages, you cannot say: class FileTreeNode extends File mixin TreeNode to get a class which gives you access to all file operations and allows to arrange the items in a tree at the same time. This means you can't directly attach it to a tree viewer.Read the complete post: http://darkviews.blogspot.com/2007/11/mixins-in-java.html
-
Mixins in Java (1 messages)
- Posted by: Daniel Rubio
- Posted on: November 15 2007 02:14 EST
Threaded Messages (1)
- Re: Mixins in Java by josh l on April 24 2008 07:32 EDT
-
Re: Mixins in Java[ Go to top ]
- Posted by: josh l
- Posted on: April 24 2008 07:32 EDT
- in response to Daniel Rubio
hi, I go through whole article but having some doubt regarding to it. can u post some more information for the same http://www.viteb.com