Proficiency with <code>loop</code> may make <code>iterate</code> unnecessary - Lisp Propulsion Laboratory log

Lisp Propulsion Laboratory log

Paolo Amoroso's weblog. Main interests: Lisp, astronomy (Moon), space exploration (Apollo and early manned programs) Calendar of past entries | Related links xml

Proficiency with loop may make iterate unnecessary

Friday, July 8, 2005

Like many Lispers, I don't use the Common Lisp loop iteration macro often, and mostly in simple cases. In my case, this is not because loop is "less Lispy", but for its complexity. Also like many, I considered using the iterate macro by Jonathan Amsterdam.

But Chapter 22 "LOOP for Black Belts" of Peter Seibel's book Practical Common Lisp explains loop so well, that I feel much less need for iterate, at least in most cases, where extensibility is not required.


Copyright © 2005 by Paolo Amoroso
amoroso@mclink.it

Created with BlogMax

July 2005
Mon Tue Wed Thu Fri Sat Sun
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Jun  Aug
About Lisp | Practical Common Lisp (learn Lisp) | Planet Lisp (blog agregator) | Common Lisp Directory (software and resources) | Why Lisp?