News for hackers. Stuff that matters.
Re:Go: a nice language with an annoying personality by NateDad on Friday January 18, 2013 @08:10AM (#5078429)
if you use the standard if _, err := foo(); err != nil { then the err variable's scope is limited to the if statement (usually correct), and you can then move that if statement where ever you want and it will stay intact, and will not interfere with the external code.

There are no comments on this comment yet.