Why aren't we all speaking LISP now?
Courageous
jkraska1 at san.rr.com
Tue May 15 02:00:33 EDT 2001
>For doing more complicated things, there's also a general
>iteration construct (called (do ...) if I remember correctly).
You recall correctly. I believe that loop() is used frequently
as well.
>but the syntax is so frigging hard to remember that it's
>often easier and clearer to write it recursively even if
>you don't strictly need to.
One variant of loop has you doing:
(loop while (condition)
)
That's pretty easy syntax. The bigger complaint would be
to point out just how _many_ ways you can loop. That's
a humdinger. :-)
C//
More information about the Python-list
mailing list