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
2
u/bobindashadows Dec 23 '11
Technically Ruby does this! .... except because of optional parentheses, if the name doesn't exist, Ruby assumes it's a no-arg method call to
self. So typos still become runtime errors. A big part of my thesis that was successful was identifying when there was no such no-arg method so the error could be called out. Too bad it was too slow and didn't support rails...