2 ms·
I'd definitely say it was. The branch is much clearer and more explicit.
by matthewmacleod 8y ago
I'd definitely say it was. The branch is much clearer and more explicit.
- tabtab 8y agoBranches are often important things to consider such that hiding them inside in-line conditional expressions can make a code reader miss a key piece of logic. Use in-line branches with caution.