Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Pretty sure he meant CoffeeScript. It doesn't remove mutability, but it does do away with default-global variables.


So does javascript unless you forget `var` and you refuse to `"use strict"` and lint.


That's not really 'by default' then, eh?


True, it's not the language's default, just the default your environment should have (and the default of any sane IDE).

Which is less work than adding coffeescript to your toolchain.


The 'default' (and I'm not sure how now declaring your variables with var qualifies) depends entirely on what's bound to 'this'.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: