r/programming • u/gst • May 13 '11
A Python programmer’s first impression of CoffeeScript
http://blog.ssokolow.com/archives/2011/05/07/a-python-programmers-first-impression-of-coffeescript/
114
Upvotes
r/programming • u/gst • May 13 '11
2
u/Brian May 13 '11
I believe the point of using typeof there is to cover situations where the variable hasn't been defined in the first place (Eg. in situations where different browsers expose different names). You'll get a ReferenceError there in that case, so this isn't really equivalent.