Is it really a good practice to avoid using NOT operator in IF conditions in order to make your code better readable? I heard the if (doSomething()) is better t
if (doSomething())
try like this
if (!(a | b)) { //blahblah }
It's same with
if (a | b) {} else { // blahblah }