4 ms·
Poorly designed APIs provide little evidence on exceptions being bad or not since the APIs themselves have big problems.
by seanmcdirmid 7y ago
Poorly designed APIs provide little evidence on exceptions being bad or not since the APIs themselves have big problems.
- weberc2 7y agoThis thread is discussing whether exceptions are bad for handling unexceptional events. We are arguing that APIs that throw exceptions for valid program states, such as a missing key for some user input, is an abuse of exceptions. There are lots of these APIs in the world and we find that objectionable. You seem to agree with all of that, but you also present yourself as disagreeing with us, and it’s not at all clear what you’re disagreeing with specifically? Are you just being contrarian for its own sake or are we misunderstanding each other?