[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
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports