In-reply-to » I want to propose my own counter-proposal to the discussion that's ongoing with Go and error handling.

hmm this would convert down to:

var f os.File
if f, e = os.Open("foo.txt"); e != nil {
    log.Fatal("error opening file; %s", e)
}

im not sure if its much better.

โค‹ Read More