Code Smell 140 - Short Circuit Evaluation
We learn short circuits in our first programming courses. We need to remember why.

We learn short circuits in our first programming courses. We need to remember why.

Not operator is our friend. Not not operator is not our friend. TL;DR: Avoid double negatives in boolean expressions Problems Readability Solutions Name your variables, methods and classes with positive names. Sample Code Wrong if ( !work.isNot...
