This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PPro patch for egcs
- To: john at feith dot com (John Wehle)
- Subject: Re: PPro patch for egcs
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 04 Jun 1998 00:25:39 -0600
- cc: hjl at lucon dot org, egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199806031836.OAA27416@jwlab.FEITH.COM>you write:
> As a personal style issue I prefer using:
>
> switch ( variable )
> {
> case xxx:
> ...
> break;
>
> case yyy:
> ...
> break;
>
> .
> .
> .
> }
[ ... ]
Agreed. Once you get more than 2 or 3 cascaded conditionals it
becomes much easier to read as a case statement.
jeff