A fresh look at JavaScript Mixins

View http://javascriptweblog.wordpress.com/2011/05/31/a-fresh-look-at-javascript-mixins

You likely heard about mixins first from your CSS preprocessor, but this article takes some time to outline the application to JavaScript. One of the things I like most about JavaScript is the additional challenge of making your code as lean as possible. While minifiers and other compression techniques help that on a machine level, there’s still a ton that depends on the approach of the code itself. It’s a challenge to find the balance between compression and code readability when it comes to JavaScript, and mixins seem to provide another layer of that.