gj...@g.local (Gareth McCaughan) writes:I detest LOOP. The whole point of Lisp IMO is the parens and the
> Some Lispers detest LOOP. I'm glad it's there, because it's
> a great tool for expressing simple iterations simply. (Most
> iterations are simple. Hairy ones are tricky to understand
> whatever language you express them in.)
prefix notation. Why screw that up with some weird English-like
thingie that just looks _wrong_? As to simple and complex iterations,
I don't find using MAPCAR or DOLIST or just plain DO to be hard to
understand. I just spend 5 minutes reading the manual _before_ I try
something for the first time.
> Note that the Lisp versions also isolate the binding of theJava (and C++ IIRC) let you do this:
> loop variable to within the loop, which is usually what you
> want. Doing that in C requires more braces and an extra
for (int i = 0; i < MAX_SIZE; i++)
i is only within the scope of that loop.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.