Re: A style question



On 27 Feb 2007 18:38:28 -0800, <pillsbury@xxxxxxxxx> wrote:
On Feb 27, 9:02 pm, job-271842...@xxxxxxxxxxxxxx wrote:

"The loop macro was originally designed to help inexperienced
Lisp users write iterative code...Unfortunately, loop is more like
...

Is this a minority view?

I think it is. I cordially despise LOOP myself, but almost everyone
uses it...

You should spend some time becoming familiar with it.

When I needed to learn loop, I found that by reading the chapter in
Common Lisp, the Language I gained the best understanding.

Loop is a Domain Specific Language, something that many loop haters
overlook, as they will also cheer DSLs as a Lisp strength.

--
There are no average Common Lisp programmers
Reply-To: email is ignored.

--
Posted via a free Usenet account from http://www.teranews.com

.



Relevant Pages

  • Re: Paul Grahams teaching style is bad
    ... > transform your sexp into a sexp with gotos or a 'do' loop. ... why Lisp is so different from other language in one sentence. ... (define (for-expand defs body) ...
    (comp.lang.lisp)
  • How to Speed up Cellular Automata [was Re: How to speed up an OpenGL application?]
    ... In the loop you hit aref a dozen times, god knows what else, without an iota of optimization. ... Lisp does more by default, so if you need to write ... (if (zerop cell) ...
    (comp.lang.lisp)
  • Beautiful loop (was: Re: Ugly loop)
    ... IMHO new lisp users should start ... > essentials and the general feeling of the language first, ... There is no sense in arguing about LOOP. ... It is sometimes argued that popularity is not a good thing because Lisp ...
    (comp.lang.lisp)
  • Re: Fundamentals of Lisp efficiency?
    ... your lisp will likely drop dead. ... If your code has a `main loop' from which all subroutines ... Especially for lists. ... Naive floating point in Common Lisp is ...
    (comp.lang.lisp)
  • lush, variable scope, iteration [was: Newbie scope question]
    ... Lisp has always been a language based on imperative programming, ... Common Lisp, by contrast, uses lexical binding by default, ... The way it really works in LOOP is that termination clauses ...
    (comp.lang.lisp)