Sławomir Grochowski <[email protected]> writes:

> After Earl's comment, I am leaning slightly toward keeping the `while'
> version, because it is faster in the benchmark. However, I agree with
> your readability concern, so I wanted to ask whether the `cl-loop'
> version below looks like a better compromise to you despite the
> slowdown.

Just a small note from the side line: In my early Common Lisp days I was
a great fan of the loop macro, later I really loved iterate. Generally,
I like domain specific languages.

On the other hand these special constructs are often quite heavy in
respect to semantics. So often it seems easier to the eye on the first
sight, but is harder to understand in detail.

In the case at hand, if anyone asked me, I would slightly prefer the
while version, independent of performance considerations.

-- 
Until the next mail...,
Stefan.

Reply via email to