News for hackers. Stuff that matters.
Re:A minimal blog engine written in Go, compatible with Ghos... by burntsushi on Saturday April 25, 2015 @08:32PM (#9440057)
I'm pretty sure you've misunderstood. Did you read the code I linked you to? Look at how it handles errors internally. Go's standard JSON decoder isn't going to crash your program if it fails to parse JSON---that would be disastrous. It exposes regular errors to the user. But internally, it uses panic/recover because it elides a lot of manual error checking.

There are no comments on this comment yet.