3 ms·
> If you actually want to handle errors (i.e. not use them only as a glorified die() function) the code gets really ugly And conversely, if you do want a glori
by a1369209993 6y ago
> If you actually want to handle errors (i.e. not use them only as a glorified die() function) the code gets really ugly
And conversely, if you do want a glorified die() function, you want a actual glorified die() function, not something that encourages the caller to 'recover', pick up your undefined, probably-corrupted data structures, and continue trying to use them.