3 ms·
Pretty sure he meant CoffeeScript. It doesn't remove mutability, but it does do away with default-global variables.
by awj 13y ago
Pretty sure he meant CoffeeScript. It doesn't remove mutability, but it does do away with default-global variables.
- masklinn 13y agoSo does javascript unless you forget `var` and you refuse to `"use strict"` and lint.
- steveklabnik 13y agoThat's not really 'by default' then, eh?
- masklinn 13y agoTrue, 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.
- kaonashi 13y agoThe 'default' (and I'm not sure how now declaring your variables with var qualifies) depends entirely on what's bound to 'this'.