"Complex" boolean expressions with multiple variables, especially if it contains various not operators.
result = !(a && !b || c)
I always have to spell or write those out to understand when result is true. I always find it best to refactor those things out of a function, into their own. And generally to avoid using double negatives.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
"Complex" boolean expressions with multiple variables, especially if it contains various not operators.
I always have to spell or write those out to understand when
result
is true. I always find it best to refactor those things out of a function, into their own. And generally to avoid using double negatives.