News for hackers. Stuff that matters.
Re:Anti-If: The missing patterns (2016) by matthewmacleod on Wednesday June 27, 2018 @09:41AM (#17408000)
I'd definitely say it was. The branch is much clearer and more explicit.
Re:Anti-If: The missing patterns (2016) by tabtab on Wednesday June 27, 2018 @11:32AM (#17408961)
Branches 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.