guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: #if vs #ifdef


From: Dale P. Smith
Subject: Re: #if vs #ifdef
Date: Thu, 27 Mar 2003 10:08:55 -0500

On Thu, 27 Mar 2003 16:26:12 +0100
address@hidden wrote:

> On Thu, Mar 27, 2003 at 07:48:05AM -0500, Dale P. Smith wrote:
> > I don't understand how it better for the compiler though.  I would think
> > using #if's effectively edits the code out of the way before the
> > compiler has a chance to look at it.  Using if (..) gives the compiler
> > useless work to do.  How is theis better?
> 
> The `iffed-out' code gets shaken by the compiler on a regular basis
> and some silly bugs get spotted earlier...

Ahhh.  Good point.

-Dale

-- 
Dale P. Smith
Senior Systems Consultant,      | Treasurer,
Altus Technologies Corporation  | Cleveland Linux Users Group
dsmith at altustech dot com     | http://cleveland.lug.net
440-746-9000 x239               |




reply via email to

[Prev in Thread] Current Thread [Next in Thread]