2 ms·
That's a nice source of bugs, if you are too quick to assume what the logic does, or what's being returned from elsewhere and just put it into the switch. I fou
by UweSchmidt 7y ago
That's a nice source of bugs, if you are too quick to assume what the logic does, or what's being returned from elsewhere and just put it into the switch. I found it helpful to devote another line of code and explicitly handle the outcome of computations or return values (except of course in trivial cases).