Looks identically: ``` x | y | x xor y 0 | 0 | 0 0...
# announcements
m
Looks identically:
Copy code
x | y | x xor y
0 | 0 | 0
0 | 1 | 1
1 | 0 | 1
1 | 1 | 0
Copy code
x     | y     | x != y
false | false | false
false | true  | true
true  | false | true
true  | true  | false
But xor is a bitwise operator, and it will compute all operands. != is a boolean operator, and it will drop some expressions if they are not needed to compute the whole expression.