News for hackers. Stuff that matters.
Re:Anti-If: The missing patterns (2016) by bena on Wednesday June 27, 2018 @10:49AM (#17408556)
What about:

    return a ? false : b;
Re:Anti-If: The missing patterns (2016) by moomin on Wednesday June 27, 2018 @01:18PM (#17409969)
I still prefer the Boolean logic version.

I’m a heavy user of ternary, but it’s still an “if”. And and Or are (not very much) higher-level operations.

Re:Anti-If: The missing patterns (2016) by bena on Wednesday June 27, 2018 @01:37PM (#17410138)
I was being mostly facetious.