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/clgonsal Dec 24 '11
Yeah, I agree that there are there are tradeoffs, though I think people often overestimate (or at least overstate) the amount of mutual-exclusion between convenience and safety.
Even if we were to assume that these three languages have maximized the level of safety achievable for the particular level of convenience they have chosen, I feel that Python (arguably the safest of the three) is "convenient enough". Any less safe than Python, and errors start to pile up pretty fast for all but tiny "toy" programs. Even if one's goal is only to write toy programs, when you're talking about something that small the added convenience of never having to write "global" becomes negligible, and so it doesn't seem worth it to give up the ability to write larger programs that are actually maintainable.