Re:Ants: locks vs stm
by utx00 on Tuesday June 16, 2009 @03:04PM
(#660694)
talk about loop abuse:
[ Parent
| on HN ]
I'd call that loop use.
This might as well be the poster child for why LOOP is an awesome macro.
I've always loved how LOOP incorporates so many common looping idioms into one readable and writable form. It's ugly and hairy if you look at it closely, and certainly Iterate [1] is cleaner and more pleasing, but LOOP is still damn impressive.
Yeah, this piece illustrates why Python is such a success and Lisp is not. Lambda may be the ultimate imperative, but certainly not the most convenient in many cases.
You're not serious? The loop macro is the most Pythonic aspect of CL (c.f. list comprehensions). Your trouble handling that loop has nothing to do with lambdas.
right, but i'm guessing his (and mine) trouble handling that loop has more to do with loop that it does with us - at least that's what i tell myself so please be gentle
You can write bad Python code too. Lisp is no longer one language, there are many Lisp variants that don't have CL's looping construct.
Re:Ants: locks vs stm
by calpaterson on Wednesday June 17, 2009 @06:43AM
(#661626)
Lisp hasn't been "one language" for decades, and, by number, most lisp variants do not include the loop macro. It's just a popular dialect that does.