7 ms·
Typing “if err != nil { return nil, err }” a million times is not thought.
by closeparen 7y ago
Typing “if err != nil { return nil, err }” a million times is not thought.
- ummonk 7y agoYes, this is exactly what I've observed in practice with Go.
- AsyncAwait 7y agoTo be fair, any decent editor will expand 'er' to that, no need to type it manually.
- deleted 7y ago[deleted]
- pjmlp 7y agoSo a typical criticism of Java and IDE dependency becomes a non-issue when talking about Go's shortcomings.
- AsyncAwait 7y agoEh, if you consider optional macro expansion an 'IDE' feature, (even gedit can do it), I guess.