From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Dale P. Smith" Newsgroups: gmane.lisp.guile.devel Subject: Re: #if vs #ifdef Date: Thu, 27 Mar 2003 10:08:55 -0500 Organization: Altus Technologies Corporation Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <20030327100855.45ba4b3e.dsmith@altustech.com> References: <87brzxfi3j.fsf@raven.i.defaultvalue.org> <20030327074805.1352f925.dsmith@altustech.com> <20030327152612.GA13291@www> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1048778553 13872 80.91.224.249 (27 Mar 2003 15:22:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 27 Mar 2003 15:22:33 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Mar 27 16:22:30 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18yZCN-0003Xj-00 for ; Thu, 27 Mar 2003 16:21:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18yZ6P-000052-03 for guile-devel@m.gmane.org; Thu, 27 Mar 2003 10:15:37 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18yZ1P-0004vB-00 for guile-devel@gnu.org; Thu, 27 Mar 2003 10:10:27 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18yZ0t-0004Qh-00 for guile-devel@gnu.org; Thu, 27 Mar 2003 10:09:55 -0500 Original-Received: from borg.altus.cc ([208.40.56.34]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18yZ0Z-0003yP-00 for guile-devel@gnu.org; Thu, 27 Mar 2003 10:09:35 -0500 Original-Received: from sparky (dsmith@sparky.altus.cc [192.168.10.14]) by borg.altus.cc (8.10.2/8.10.2) with SMTP id h2RF9L809396; Thu, 27 Mar 2003 10:09:26 -0500 Original-To: tomas@fabula.de In-Reply-To: <20030327152612.GA13291@www> X-Mailer: Sylpheed version 0.8.10claws13 (GTK+ 1.2.10; i386-debian-linux-gnu) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2115 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2115 On Thu, 27 Mar 2003 16:26:12 +0100 tomas@fabula.de 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 | _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel