ternary operator
Mike Meyer
mwm at mired.org
Sat Feb 8 16:33:14 EST 2003
danb_83 at yahoo.com (Dan Bishop) writes:
> Andrew Koenig <ark at research.att.com> wrote in message news:<yu99smuyaiyd.fsf at europa.research.att.com>...
> > Dennis> Similar for
> >
> > Dennis> or
> > Dennis> vs
> > Dennis> or else
> >
> > Indeed -- this is the best evidence that Ada is the result of a military
> > project. In what other language is "or else" an operator?
> But if you meant whether there's an "or else" in a language that
> people actually program in, I don't know of any.
Since people actually program in Ada, that's one. Eiffel also uses "or
else" for short-circuit booleans.
<mike
--
Mike Meyer <mwm at mired.org> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
More information about the Python-list
mailing list