Re: Why not a setf-able NIL ?
- From: kodifik@xxxxxxxxxxxxx
- Date: Wed, 1 Oct 2008 07:09:43 -0700 (PDT)
Pascal Costanza wrote:
(loop until (zerop number) ...)Quite right, doctor. I am not sure the example (loop while number...)
was very fortunate.
What I talked about is something more far-reaching: it would allow for
instance to change the behavior of a running program on the fly
without rewriting it, just by reassigning the symbol nil.
In your solution, the finalization condition is hard-coded.
I am asking why is nil hard-coded in Common Lisp, when it has always
been said that hard-coding things is a mark of bad program design.
Talking about the possibility of being free to redefine nil, does not
mean I would want to do it.
.
- Follow-Ups:
- Re: Why not a setf-able NIL ?
- From: Barry Margolin
- Re: Why not a setf-able NIL ?
- From: Pascal J. Bourguignon
- Re: Why not a setf-able NIL ?
- From: Matthias Buelow
- Re: Why not a setf-able NIL ?
- From: Tamas K Papp
- Re: Why not a setf-able NIL ?
- References:
- Why not a setf-able NIL ?
- From: kodifik
- Re: Why not a setf-able NIL ?
- From: Pascal Costanza
- Why not a setf-able NIL ?
- Prev by Date: Re: Why not a setf-able NIL ?
- Next by Date: Re: Why not a setf-able NIL ?
- Previous by thread: Re: Why not a setf-able NIL ?
- Next by thread: Re: Why not a setf-able NIL ?
- Index(es):