DEV Community

Discussion on: The Ternary Operator vs The Conditional Operator WTF

Collapse
 
danieljsummers profile image
Daniel J. Summers

It does seem that you really only need one, as others could be expressed in terms of the first. I actually gave this probably more thought than I should have, but the only things I could come up with were not conditional operators; they were more combinations of prefix/postfix/infix operators.