2 ms·
This is required for fine grained control of exceptions too. You have to wrap each statement in a try/catch which is even more verbose than the error check in
by NateDad 12y ago
This is required for fine grained control of exceptions too. You have to wrap each statement in a try/catch which is even more verbose than the error check in go. Otherwise you can't programmatically tell which statement failed.
- prodigal_erik 12y agoJava has been recording stack traces for over a decade. This is an argument for building things into the language, because it would have been very difficult to roll our own version of it as a library.