Does any language have a unary boolean toggle operator?
Toggling the boolean bit … that would allow me to abbreviate a = !a without repeating the expression for a … This approach is not really a pure “mutating flip” operator, but does fulfill your criteria above; the right hand side of the expression does not involve the variable itself. Any language with a boolean … Read more