Re:Erlang and code style
by signa11 on Tuesday May 20, 2014 @11:54PM
(#7776616)
if _, err := os.Open("file.go"); err != nil {
but you need to split that into 2 lines, just like the good article says i.e.
otherwise, outside the 'if {...}' block, 'file' is undefined.
[ Parent
| on HN ]
There are no comments on this comment yet.