Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Yes, 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.


You might appreciate jslint or closure-compiler - both have their quirks, but they can be tremendously helpful at finding certain errors.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: