14 ms·
tldr - The user simply reads , as 'and', ; as 'or' and . as being done.
by pixie_ 15y ago
tldr - The user simply reads , as 'and', ; as 'or' and . as being done.
- RichClaxton 15y agoThat is a really nice summation.
- cpeterso 15y agoThis syntax isn't any less weird than C's &&, ||, and ; operators. :) Do any C/C++ developers #include<iso646.h> so they can use and, or, and not as friendly operator names? This seems like a simple step for prettier C code, but I have never seen it in practice.
- sausagefeet 15y agoI've been writing C/C++ before and thought it would be nice to use those forms of the operators, but having never ever seen C++ code that does I wonder if I'm setting myself to be made fun of.
- cpeterso 15y agoI guess it's a slippery slope. If people #define and && then someone else will #define then { and #define endif }. Everyone will have their own silly dialect. In fact, that is not unlike the current state of C++ usage..