3 ms·
I like that it we are forced to deal with the error. It seems to make the code more predictable in some sense. But I do loath the littered if err != nil {
by tmaly 1y ago
I like that it we are forced to deal with the error. It seems to make the code more predictable in some sense.
But I do loath the littered
if err != nil {
return err
}
maybe a better autocomplete in the IDE/editor is a good compromise.