Code inspection: Double negation operator
Double negation, such as writing !!something
is meaningless and can be safely removed. The only exception would be types such as DBbool
where the negation operator is overloaded.
11 February 2024
Double negation, such as writing !!something
is meaningless and can be safely removed. The only exception would be types such as DBbool
where the negation operator is overloaded.