Late 90s were 2 decades ago :)
Re:Avoid Else, Return Early (2013)
by ropeadopepope on Tuesday March 27, 2018 @04:40PM
(#16692530)
Guards were brand new in the 90s. Unless you're going to argue programming started in the 90s, your point is irrelevant.
I disagree with the logic in this sentence. New coding styles are invented all the time. The guard statements in the article were only formalized in the late 90s, for example. These arguments about coding styles "decades after they were invented" are the only way we know which work and which don't.
It's not a matter of taste. It's how you separate the wheat from the chaff. Except for the brackets one. ;)