3 ms·
It's rather disappointing that Go has managed to bungle error handling so badly in a language only a handful of years old.
by meddlepal 7y ago
It's rather disappointing that Go has managed to bungle error handling so badly in a language only a handful of years old.
- akvadrako 7y agoProbably something about ideology overriding practicality. Personally I find go error handling okay but that’s because I exclusively use panic().
- codr7 7y agoJust don't let any true believers near it or they'll tear you a new one. I've published plenty of Go code with a panic() here or there to handle fatal issues, and there's never a shortage of ignorant fools dropping in to lecture me. If I'm not supposed to use it, why is it even in there? To tempt me? That would fit with the glorification of pain and boredom, I guess.