"Exceptions should be... the exception."
:)
:)
Exceptions are just “goto whatever catch is in the call stack”.
It’s still completely obvious when you see a throw statement that it can throw, and static analysis can tell you exactly what can be thrown by each function.
“Who will catch this” is supposed to be opaque. It’s like wondering who will call this function.
If you want to goto some specific point in the code, just call it.
It is the same "problem" as not knowing where a return will return to.
You can't "just" search for function name, you have to rely on code analysis tools.
Making code more opaque coz you can get thru the mess of it via tooling is terrible direction