Not logged in
Log in now
Create an account
Subscribe to LWN
Recent Features
LWN.net Weekly Edition for May 23, 2013
An "enum" for Python 3
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
Scala - uses 'trait' to denote classes that you can 'mix in' into other classes
Ruby - does not use the word 'mixin'
Groovy - uses @Mixin annotation for classes that have other classes 'mixed in'
Vala - does not use the word 'mixin', just allows to define methods in interfaces
So 'Mixin' is just a vague concept, and you have to be precise when defining a language. And it just sounds weird - trait is so much better IMHO.
PHP 5.4.0 released
Posted Mar 2, 2012 19:03 UTC (Fri) by rfunk (subscriber, #4054) [Link]
Posted Mar 2, 2012 21:31 UTC (Fri) by artem (subscriber, #51262) [Link]
Copyright © 2013, Eklektix, Inc. Comments and public postings are copyrighted by their creators. Linux is a registered trademark of Linus Torvalds