in reply to To Trinary or not to Ternary
It would be interesting to know when, by whom and in what context, ?: first started being termed as either 'the trinary operator' or 'the ternary operator'?
I just dug through a bunch of old language references including a Kernighain & Ritchie from 1978, Stoustrup from 1986, the Waite's Group ANSI C from 1989 and several others including a Java manual from the late 90's and it is universally referred to as 'the conditional expression'.
Does anyone else know or have a reference on this?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: To Trinary or not to Ternary
by ysth (Canon) on Dec 07, 2003 at 02:20 UTC |
In Section
Seekers of Perl Wisdom