7 ms·
For one, in the operator in question: bitwise negation in Go is expressed using prefix ^ rather than ~ as in C. Go also differs from C in operator precedence,
by awsmith 5y ago
For one, in the operator in question: bitwise negation in Go is expressed using prefix ^ rather than ~ as in C. Go also differs from C in operator precedence, which I would argue is a significantly larger change than the visible syntax for an operator.
- morelisp 5y ago++ and -- are also statements rather than expressions (and =, but lots of languages diverge from C on this).