Re:fork() can fail
by acdha on Thursday August 21, 2014 @09:37AM
(#8207254)
Technically true but most of the [admittededly modest] Go code I've seen had that error punt all over the place. I really wish they'd learned from C and either banned assigning _ for errors or threw a compiler error if the next line wasn't a _ check.
On second thought, it'd probably avoid some nasty production failures if that behaviour was true for everything which can return an error.
On second thought, it'd probably avoid some nasty production failures if that behaviour was true for everything which can return an error.