Subject: Re: Programming Style
From: rpw3@rigden.engr.sgi.com (Rob Warnock)
Date: 15 Aug 2001 11:25:57 GMT
Newsgroups: comp.lang.lisp
Message-ID: <9ldm85$bf8c7$1@fido.engr.sgi.com>
<cbbrowne@hex.net> wrote:
+---------------
| Duane Rettig <duane@franz.com> writes:
| >       #+ignore (frazzle gorp ...)
| 
| It's apparently possible to learn something every day.  That is a
| _slick_ way of eliminating an s-exp...
+---------------

Another way -- if the s-expr you want to "comment out" isn't the last one
in a block -- is just to quote it. Takes only one character. Any decent
compiler should eliminate it as a dead constant. [Works in Scheme, too.]

The only problem I've had is because the quote is *so* small, you sometimes
overlook it when you're trying to figure out why you can't get the code
working again...  ;-}  ;-}


-Rob

-----
Rob Warnock, 30-3-510		<rpw3@sgi.com>
SGI Network Engineering		<http://reality.sgi.com/rpw3/> [until 8/15]
1600 Amphitheatre Pkwy.		Phone: 650-933-1673
Mountain View, CA  94043	PP-ASEL-IA

[Note: aaanalyst@sgi.com and zedwatch@sgi.com aren't for humans ]