3 ms·
This is a very lightweight addition, with a huge quality-of-life impact, and one which must be immediately appealing to everyone, not just the FP crowd. C++'s
by nine_k 5y ago
This is a very lightweight addition, with a huge quality-of-life impact, and one which must be immediately appealing to everyone, not just the FP crowd.
C++'s syntax problem, to my mind, is not that it's excessively large, but that it's excessively clever and error-prone, and sometimes not very uniform. It's hard for humans to parse.
This proposal does not introduce any special cases, it adds one (or two, if |?> is also accepted) very clearly defined operators, proven by practice. It makes parsing things by humans easier.