Comment

Comment by burntsushi

That's just not true. There are very useful idioms for panic/recover, like when your code is profligate with errors (parsing, database work, etc.)

It's even used in the standard library: http://golang.org/src/pkg/text/template/exec.go#L93

(I use the pattern myself in certain situations. It's extremely useful.)

parent burntsushi 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton