News for hackers. Stuff that matters.
Re:Push Ifs Up and Fors Down: The Idiom, Its Algebra, and It... by bzbz on Thursday October 08, 2026 @12:52PM (#50008305)
Not particularly.

Easier for humans to reason about the branch, when they know that it happens without input from i or y[i].

This is helpful when the `if` statement is complex, or there are multiple if statements, some of which do take y[i] as input.

There are no comments on this comment yet.