Re:Push ifs up and fors down
by softfalcon on Thursday November 16, 2023 @12:24AM
(#38286050)
Yeah, same, also know this as guard clauses. But "sad if's" is kind of adorable sounding, so I might start using it.
pessimifs
I think this is the first time I've heard that name for this idea. You'll find more under the term "guard clauses" - it even has its own Wikipedia page: https://en.wikipedia.org/wiki/Guard_(computer_science)