e1?e2:e3 so, is it useful or what?

Bill Trost trost at reed.UUCP
Mon Sep 8 12:30:47 AEST 1986


All these various examples make it quite obvious that you can do anything
without using ?:.  The question is, why would you want to?  The construct
exists as a programmer's convenience.  I also suspect (but am uncertain)
that the use of ?: is more effecient in terms of code size and speed.



More information about the Net.bugs mailing list