🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.c
Article #9079

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

#9079
From: Bill Trost
Date: Mon, 08 Sep 1986 02:30
5 lines
927 bytes
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.
Technical Details
Message-ID: <4064@reed.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!caip!sri-spam!nike!ucbcad!ucbvax!hplabs!tektronix!reed!trost
References: <518@hadron.UUCP> <243@desint.UUCP> <745@wjvax.wjvax.UUCP> <248@desint.UUCP> <114@methods.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!caip!sri-spam!nike!ucbcad!ucbvax!hplabs!tektronix!reed!trost
From: trost@reed.UUCP (Bill Trost)
Newsgroups: net.lang.c,net.bugs
Subject: e1?e2:e3     so, is it useful or what?
Message-ID: <4064@reed.UUCP>
Date: Sun, 7-Sep-86 22:30:47 EDT
Article-I.D.: reed.4064
Posted: Sun Sep  7 22:30:47 1986
Date-Received: Mon, 8-Sep-86 05:57:49 EDT
References: <518@hadron.UUCP> <243@desint.UUCP> <745@wjvax.wjvax.UUCP> <248@desint.UUCP> <114@methods.UUCP>
Reply-To: trost@reed.UUCP (Bill Trost)
Organization: Reed College, Portland, OR
Lines: 5