3 ms·
I think check/handle is much better than this.
by icholy 7y ago
I think check/handle is much better than this.
- Insanity 7y agoI agree. I think they are focussing too much on backwards compatibility here. Java made that mistake in the last decade, hopefully Go does not repeat it.
- grose 7y agoSame. I don't like how this requires you to use named parameters and defer to add context to errors. It's way too easy to shadow err and I can see this causing a lot of pain in the future.