Re: "The ternary operator"
| From: | Rasmus | Date: | Fri, 10 Jun 2011 11:53:20 +0000 |
| Subject: | Re: "The ternary operator" | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969382780@lists.php.net to get a copy of this message | ||
On 06/10/2011 03:46 AM, Ford, Mike wrote:
> What do you think?
I think changing this is an uphill battle. While not completely accurate
as you say, people are rather used to ?: being known as *the* ternary
operator. If you look up ?: on Wikipedia it is the first name you see. A
while it says it is *a* ternary operator, since most languages only have
one, the association is pretty tight.
I think if we end up with a second ternary operator at some point it
won't be too hard to come up with a variation on the name which still
includes the word ternary.
-Rasmus