3 ms·
How is this "much better"? Once you understand the syntax of the ternary operator it's easy to read and easy to use.
by InclinedPlane 14y ago
How is this "much better"? Once you understand the syntax of the ternary operator it's easy to read and easy to use.
- dchichkov 14y agoActually, it is much worse. Extra symbols certainly contribute to clutter and reduce readability. More to that, in my opinion, "code flow" in functional languages is completely broken.
- scott_s 14y agoI have to remind myself how to read it every time I encounter it, and C and C++ are my dominant languages.