Re: Re: what is #+nil good for?

Nicolas Neuss <[email protected]> Mon, 22 Nov 2004 19:28:39 +0100
Newsgroups gmane.lisp.matlisp.user
Organization IWR
Message-ID <[email protected]>
Sam Steingold <[email protected]> writes:

>> * Marco Antoniotti <[email protected]> [2004-11-22 12:16:18 -0500]:
>>
>> This is just a conventional way of doing what you'd do in C/C++ with
>>
>> #if 0
>> blah blah bla
>> #endif
>>
>> Do not add NIL to the features.  When you see #+nil it usually means
>> that the code is dead and left around for documentation (grin) purposes.
>
> "#+nil" is broken by design.
> use "#+(or)" instead.

Sadly, it is one character more to type...

Citing Dan Barlow from asdf.lisp:

#+nil (error "The author of this file habitually uses #+nil to comment out
forms.  But don't worry, it was unlikely to work in the New Implementation
of Lisp anyway")

Nicolas:-)



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/