3 ms·
I think you meant ClosureScript. CoffeScript is mostly a syntaxic decoration over JavaScript and doesn't remove mutability.
by zimbatm 13y ago
I think you meant ClosureScript. CoffeScript is mostly a syntaxic decoration over JavaScript and doesn't remove mutability.
- lucian1900 13y agos/ClosureScript/ClojureScript/
- awj 13y agoPretty 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'.
- gordonguthrie 13y agoNo I meant Coffeescript