Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
awj
on Aug 12, 2013
|
parent
|
context
|
favorite
| on:
Elixir Design Goals
Pretty sure he meant CoffeeScript. It doesn't remove
mutability
, but it does do away with default-global variables.
masklinn
on Aug 12, 2013
[–]
So does javascript unless you forget `var`
and
you refuse to `"use strict"` and lint.
steveklabnik
on Aug 12, 2013
|
parent
[–]
That's not really 'by default' then, eh?
masklinn
on Aug 12, 2013
|
root
|
parent
|
next
[–]
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.
kaonashi
on Aug 13, 2013
|
root
|
parent
|
prev
[–]
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: