You must log in or # to comment.
Why use goto when you can throw exceptions to escape nested for loops?
exceptions are just fancy gotos
Exceptions are fancy returns. Everything else is fancy goto, including returns…
Why use try/if/catch when you can use try/if/switch/catch?
I don’t see a
catch
in the screenshot. Maybe this block just has afinally
that cleans some things up before the exception is thrown?Why throwing an exception without a message, when you can use
0/0