When were the ‘and’ and ‘or’ alternative tokens introduced in C++?

From the first ISO C++ standard C++98, this is described in 2.5/ Alternative tokens [lex.digraph]: Alternative token representations are provided for some operators and punctuators. In all respects of the language, each alternative token behaves the same, respectively, as its primary token, except for its spelling. The set of alternative tokens is defined in Table … Read more

Language support for chained comparison operators (x < y < z)

It should be more common, but I suspect it is not because it makes parsing languages more complex. Benefits: Upholds the principle of least surprise Reads like math is taught Reduces cognitive load (see previous 2 points) Drawbacks: Grammar is more complex for the language Special case syntactic sugar As to why not, my guesses … Read more