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

Re: [Scheme-reports] when and unless

On Tue, May 24, 2011 at 00:47, Aaron W. Hsu <arcfide@x> wrote:
> On Mon, 23 May 2011 06:36:08 -0400, Alaric Snell-Pym
> <alaric@x> wrote:
>> 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.
> Does anyone use while and until in practice? I've never seen in in real
> code.

I use them, sometimes, when rewriting in scheme an algorithm
written in imperative style in a foreign language.  For example,
when taking an algorithm from a book.

Sometimes it's worth the time to translate the code in good style,
and sometimes the time is missing.  Luckily, with scheme we have
the choice.

Nevertheless, I'd prefer not to have these macros in the standard.
And I'd strongly prefer not to have them in WG1 scheme.

> On the other hand, I use when and unless all the time.

me too.


Scheme-reports mailing list