[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] when and unless

Four minutes ago, Alaric Snell-Pym wrote:
> On 05/20/11 10:31, Pierpaolo Bernardi wrote:
> > Also, while and until macros encourage bad habits.  Do we want to
> > attract beginners by making them write fortran code in
> > parentheses?
> FWIW, I never use while and until... I just reach for the named let.
> It's general, so I only have to remember how it works once.

Named lets have another advantage -- they don't make side effects
necessary like while/until loops.

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

Scheme-reports mailing list