Give me some of your thoughts on which is a better coding practice/makes more efficient code/looks prettier/whatever: Increasing and improving your ability to use if statem
if
blocks are slightly faster; if you aren't going to need a dozen of them, they're a better idea than try/catches
. Exceptions should be exceptional, not every time the code runs. I use Exceptions for rare events like server disconnections (even though they happen a few times every day), and if
blocks for any of my controllable variables.