3 ms·
I think almost 50% of my Go code is checking for errors. Every time I see: foo, err := somebullshit() if err != nil { // bleargh } I feel as though I've
by nickbauman 11y ago
I think almost 50% of my Go code is checking for errors. Every time I see:
foo, err := somebullshit()
if err != nil {
// bleargh
}
I feel as though I've experienced a very slight but irrevocable grand mal seizure.