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!
In reply to Re^3: Ternary operator (there's no Trinary operator )
by ikegami
in thread Ternary operator (there's no Trinary operator )
by davido
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |