@kolen - your application doesn't have to be written in ruby, not at all, but sass requires ruby.
@dcsturm - last time I checked CodeKit was able to handle sass only. Now I see it can compile less too.
But I don't use CodeKit anymore. If you want something at least as complete as CodeKit, have a look at http://yeoman.io/
@avenger7x I know - https://github.com/documentcloud/underscore/blob/master/underscore.js#L715
I just wanted to point out some libraries that does that for you. It's better to use named conventions when working in a team.
Yes, I know you are not extending natives, I was just teasing you :p
Some people use this approach for AOP - see hexagonal.js
You shouldn't change the built-in objects :P
Have a look at http://underscorejs.org/#wrap and https://github.com/gameboxed/YouAreDaBomb
Using modules won't prevent you to use inheritance. Why do you think so?
@dpashkevich great to hear that
of course this works only in rails, thanks to ActiveSupport - https://github.com/rails/rails/blob/a37b90caf4262fd0ef4141e1e15cca3745af6912/activesupport/lib/active_support/hash_with_indifferent_access.rb#L15
@duiker101 Yes, but it doesn't have control directives, loops and so on. As others stated, you can do that (if-s with guarded mixins, loops with recursive calls etc), but they are not as intuitive as they are in sass (and they are harder to maintain and write).
Also, less lacks things like sass' @extend (yes, you can include other mixins or classes, but it will generate more code) and many others.
I do like less too - I've been using it for a year now :), the main reason being that twitter bootstrap was written in less. But I like more the expressiveness and power of sass. It's also more actively maintained.
@dpashkevich Indeed, that is a very cool feature
I wrote a similar tip - https://coderwall.com/p/233zbq
don't use "ng" as a prefix.. let the angular.js guys to do it, and use your own prefix :)