r/programming • u/zumpiez • Dec 22 '11
The Problem with Implicit Scoping in CoffeeScript
http://lucumr.pocoo.org/2011/12/22/implicit-scoping-in-coffeescript/
83
Upvotes
r/programming • u/zumpiez • Dec 22 '11
View all comments
Show parent comment
1
u/mitsuhiko Dec 23 '11
Huge difference there. D and Ruby uses separate scopes for different htings whereas CoffeeScript does not. D uses a different lookup for classes and functions or imported modules, same goes for Ruby.
In CoffeeScript a function, class, imported thing are all equivalent with file global variables.