News for hackers. Stuff that matters.
Re:Should Go 2.0 support generics? by curun1r on Sunday July 23, 2017 @07:02AM (#14831714)
With generics, it would be possible to write a library implementing 2-track, functional error handling, which would allow for a form of automatic error propagation. The if err != nil statements would be kept to a minimum. It's precisely the lack of generics in the first place that makes error handling in Go so obnoxious.

There are no comments on this comment yet.