News for hackers. Stuff that matters.
Re:Push ifs up and fors down by Aeolun on Wednesday November 15, 2023 @08:36PM (#38284897)
I think you’ll have better code on average if you always apply these rules than if you don’t.

It’s not always helpful to give people the option to do it as they think is best.

Re:Push ifs up and fors down by zeven7 on Wednesday November 15, 2023 @09:20PM (#38285177)
> than if you don’t

If by “don’t” you mean “do the opposite” then I agree. The third option is “don’t follow the rule blindly but think about the situation”, and for that case it depends entirely on the person and how well they think.