|
|
|
|
|
by ComputerGuru
2327 days ago
|
|
Most concise: absolutely. Most performant: never. Most understandable: yes, but only if you are cognizant of which call paths can result in an exception and which can’t (i.e. until your code base becomes too large or you’re not the one that wrote it). |
|
I disagree. An exception can be faster than manually unwinding a set of nested scopes.