Worst ideas/features in programming languages
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Wed Oct 27 06:58:13 UTC 2021
On Wednesday, 27 October 2021 at 01:18:47 UTC, Basile B. wrote:
> You see that finally this has nothing to do with the hype or
> whatever. In both case the style and the semantic are perfectly
No, to be consistent with other infix operators for integers +*/-
you would use symbols for bit manipulation.
If you resuse integer operators for booleans, then conditional
expressions get more difficult to read when they contain both.
Which is bad for usability.
Side note: Simula had or, or else, and, and then. So, both with
and without short circuit.
More information about the Digitalmars-d