News for hackers. Stuff that matters.
Re:Expectations for generics in Go 1.18 by mseepgood on Wednesday October 27, 2021 @09:42PM (#29021340)
I don't see how it changes error handling. To implement a generic error handling function you would need a non-local return statement (panicing is not error handling). And a generic monadic Result type would make error handling more verbose due to its reliance on closures for subsequent actions.

There are no comments on this comment yet.