News for hackers. Stuff that matters.
Re:Effective Go by oxplot on Sunday October 03, 2021 @07:57PM (#28741616)
Re error propagation: look at standard library’s JSON encoding source code. They use panic internally to bubble up errors from recursive calls and have a recover at the API boundary which turns it into an error value. I thought it was a neat trick, until error handling matures further.

There are no comments on this comment yet.