News for hackers. Stuff that matters.
Re:The ups and downs of porting 50k lines of C++ to Go (2015) by reddit_clone on Thursday March 14, 2019 @10:06AM (#19389294)
They are not the same though. I got bitten by this recently (Go beginner).

In the single line form, both foo and err are scope restricted to the if block. Found that out the hard way.

There are no comments on this comment yet.