3 ms·
They can be extremely useful in error handling. They're also great as a substitute for labeled break statements if your language doesn't support them.
by pmjordan 17y ago
They can be extremely useful in error handling. They're also great as a substitute for labeled break statements if your language doesn't support them.
- aceofspades19 17y agoWhat ever happened to exceptions, which were explicitly invented to handle errors
- pmjordan 17y agoYeah. Turns out they're no silver bullet either. These days, my approach is pragmatic: use whatever works and produces the most readable code.