News for hackers. Stuff that matters.
Re:Go is amazing, period. by jff on Monday March 19, 2012 @01:12PM (#3724908)
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.

Re:Go is amazing, period. by georgemcbay on Monday March 19, 2012 @03:12PM (#3725637)
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.

Re:Go is amazing, period. by nfriedly on Tuesday March 20, 2012 @04:38PM (#3731422)
You might appreciate jslint or closure-compiler - both have their quirks, but they can be tremendously helpful at finding certain errors.