in reply to Re^2: Ternary operator (there's no Trinary operator )
in thread Ternary operator (there's no Trinary operator )

Stroustrup side-stepped the issue in C++ and called it a conditional statement.

I call it the conditional operator (or the ternary conditional operator to avoid confusion). "Ternary operator" (or "trinary operator") is a description, not a name. Calling it the ternary operator is like calling me "Laurie Brine's child" in favour of using my name.

Update: Hey! perlop calls it that too!

  • Comment on Re^3: Ternary operator (there's no Trinary operator )