Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
yxhuvud
on Dec 22, 2011
|
parent
|
context
|
favorite
| on:
The Problem with Implicit Scoping in CoffeeScript
Yes, create the variable as a function argument.
cheald
on Dec 22, 2011
[–]
While that does allow you to use a locally scoped variable (even one that shadows an outer variable), it's still not explicit scoping.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: