delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/01/16:30:56

Date: Sun, 1 Aug 1999 11:46:40 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: Iteration vs. Recursion...
In-Reply-To: <7nvako$sh1$2@schbbs.mot.com>
Message-ID: <Pine.SUN.3.91.990801114521.20304V-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 31 Jul 1999 me AT here DOT com wrote:

> Personally, I usually use if / else for up to 3 conditions, 
> and switch for 4 or more, and that's mainly because of 
> readability.

You cannot use switch if the condition is something other than a 
comparison to a compile-time constant.

- Raw text -


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