Re: #;
- From: Kaz Kylheku <kkylheku@xxxxxxxxx>
- Date: Mon, 31 Dec 2007 13:58:00 -0800 (PST)
On Dec 30, 7:46 pm, Kent M Pitman <pit...@xxxxxxxxxxx> wrote:
verec <ve...@xxxxxxx> writes:
I have seen many examples using #+nil for this
purpose, but this precisely doesn't work for
incomplete expressions whereas:
Btw, NIL was the New Implementation of Lisp (a lisp implementation for
the VAX some years ago), and #+NIL actually did have an implementation
it was defined in. I don't recommend it for conditionals. #+(or) is
safer, though not terribly intelligible to everyone. #+ignore is something
I've seen enough people use that it's unlikely anyone would make :ignore
feature and expect it to work.
You know, none of this actually matters, because unconditionally
commented-out code should never be released (or even checked into the
code repository).
So all that matters is whether the trick works in your sandbox.
If #+NIL does the job for you from the time you add it, to the time
you remove it before passing the code onto anyone else, then that's
fine.
And we don't need a comment-out shorthand in Lisp, because we don't
need features which specifically don't belong in production code.
Therefore, of course, Scheme needs such a feature. :)
.
- References:
- Prev by Date: Re: How do lispers do their GUI programming anyway? (was Re: Curses alternative for Lisp?)
- Previous by thread: Re: #;
- Next by thread: Re: #;
- Index(es):
Relevant Pages
|