Mixins in Java

Discussions

Blogs: Mixins in Java

  1. Mixins in Java (1 messages)

    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

    Threaded Messages (1)

  2. Re: Mixins in Java[ Go to top ]

    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