General Tech
The complement of true is true, except when it's false
The article discusses a property of the complement operator in boolean logic, stating that the complement of true is true when the original value is false, but false when the original value is true. This property is demonstrated with examples in Python and Java. The author notes that this behavior can be counterintuitive for developers unfamiliar with boolean logic.
Read the full article at dryperspective.github.io →