delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/03/10:26:28

Date: Sun, 3 May 1998 17:24:25 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "John M. Aldrich" <fighteer AT cs DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Programming Prob.
In-Reply-To: <3547A9F0.2C60@cs.com>
Message-ID: <Pine.SUN.3.91.980503172408.19706B-100000@is>
MIME-Version: 1.0

On Wed, 29 Apr 1998, John M. Aldrich wrote:

> I could not believe what Nate posted, because it looked so incredibly
> syntactically obscure.  So I tried it with gpp and it worked.  I don't
> see how it makes the operation any clearer, though.  :-)

Their advantage is not clarity, it's the avoidance of side effects.
Unlike the standard operators, >? and ?: evaluate their operands only
once, and therefore are unafflicted by any side-effects.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019