7 ms·
I don't think the argument is that people can't understand '&&' and '||', but that using 'and' and 'or' is a better choice.
by anona 13y ago
I don't think the argument is that people can't understand '&&' and '||', but that using 'and' and 'or' is a better choice.
- jussij 13y agoSo what do you do about the bitwise and and or operations. How should they be expressed? Python expresses the bitwise and and or using the & and | characters, the exact same characters as Go. And that also explains why Go chooses to use && and || for and the logical and or operators.
- anona 13y agoThe code is much more readable if the bitwise operators do not look almost identical to the logical ones.