🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.c
Article #9080

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

#9080
From: J. Wong
Date: Mon, 08 Sep 1986 18:51
16 lines
1311 bytes
In article <4064@reed.UUCP> trost@reed.UUCP (Bill Trost) writes:
>
>			...  I also suspect (but am uncertain)
>that the use of ?: is more effecient in terms of code size and speed.

No, in most cases ?: is less efficient.  It does result is less source
code, however (and I feel results in more readable code, as long as you
don't nest them.)
-- 
				J. Wong		ucbvax!mtxinu!rtech!wong

****************************************************************
You start a conversation, you can't even finish it.
You're talking alot, but you're not saying anything.
When I have nothing to say, my lips are sealed.
Say something once, why say it again.		- David Byrne
Technical Details
Message-ID: <437@rtech.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!lll-lcc!unisoft!mtxinu!rtech!wong
References: <518@hadron.UUCP> <243@desint.UUCP> <745@wjvax.wjvax.UUCP> <248@desint.UUCP> <114@methods.UUCP> <4064@reed.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!lll-crg!lll-lcc!unisoft!mtxinu!rtech!wong
From: wong@rtech.UUCP (J. Wong)
Newsgroups: net.lang.c,net.bugs
Subject: Re: e1?e2:e3     so, is it useful or what?
Message-ID: <437@rtech.UUCP>
Date: Mon, 8-Sep-86 14:51:40 EDT
Article-I.D.: rtech.437
Posted: Mon Sep  8 14:51:40 1986
Date-Received: Tue, 9-Sep-86 02:28:05 EDT
References: <518@hadron.UUCP> <243@desint.UUCP> <745@wjvax.wjvax.UUCP> <248@desint.UUCP> <114@methods.UUCP> <4064@reed.UUCP>
Reply-To: wong@rtech.UUCP (J. Wong)
Organization: Relational Technology Inc, Alameda CA
Lines: 16