3 ms·
Just think about how much more you'd have to type if you were programming C, and you'll be ok :) My main gripe with := vs = is that as I change my code, an exi
by jff 15y ago
Just think about how much more you'd have to type if you were programming C, and you'll be ok :)
My main gripe with := vs = is that as I change my code, an existing := may suddenly become invalid, meaning I have to go back and change it when compilation fails, or vice versa.
- georgemcbay 15y agoYes, but thankfully compilation fails rather than succeed and then fail in some mysterious way at runtime. As someone who has been stuck writing JavaScript for Yahoo Widgets (Vizio Connected TV) over the past month, my appreciation for the compiler errors you get in static languages has grown tremendously. Previously I had taken them too much for granted.
- nfriedly 15y agoYou might appreciate jslint or closure-compiler - both have their quirks, but they can be tremendously helpful at finding certain errors.