Every time I see it, regardless of the source programming language, I always have to do mental gymnastics to figure out which situations causes its "then" block to execute.
I'm thinking of something like this:
unless (!a() || b()) { ... }
Most of the time I see it, it actually decreases clarity.
Every time I see it, regardless of the source programming language, I always have to do mental gymnastics to figure out which situations causes its "then" block to execute.
I'm thinking of something like this:
Most of the time I see it, it actually decreases clarity.