Hacker News new | ask | show | jobs
by TeMPOraL 1799 days ago
Wish it was consistent, though.

'josefx is right in saying[0] these are still primarily hacks around encoding issues.

  | meaning | what is | what should have been |
  |---------+---------+-----------------------|
  | &&      | and     | and                   |
  | &=      | and_eq  | bitand_eq             |
  | &       | bitand  | bitand                |
  | |       | bitor   | bitor                 |
  | ~       | compl   | bitcompl              |
  | !       | not     | not                   |
  | !=      | not_eq  | not_eq                |
  | ||      | or      | or                    |
  | |=      | or_eq   | bitor_eq              |
  | ^       | xor     | bitxor                |
  | ^=      | xor_eq  | bitxor_eq             |

--

[0] - https://news.ycombinator.com/item?id=27928276