Re: Lisp/AI, Carnegie Mellon University

From: Yarden Katz (yarden_at_umd.edu)
Date: 10/31/04


Date: Sat, 30 Oct 2004 23:05:21 GMT

Christopher Browne <cbbrowne@acm.org> writes:

> A long time ago, in a galaxy far, far away, "Nameless" <news.mail@chello.no> wrote:
>>> A good procedural language is better. And Lisp is one of the
>>> best.
>>
>> I don't buy that either. Firstly, Lisp is a functional, not a
>> procedural, language.
>
> Nonsense. It includes some functional facilities, but if you're into
> "functional programming," ML and Haskell are likely to be vastly more
> fitting.
>
> Lisp functions in a nicely procedural manner:
>
> (loop
> for i from 1 to n by 3
> do (something-with i))
>
> If it were purely functional, there wouldn't be the side-effects of
> SETF and such.

You are obviously right in your point, but is "procedural" the first
characterization of Lisp that comes to your mind? In my opinion both
"procedural" and "functional" as one-word characterization of Lisp are
flawed, although the latter is probably more flawed than the former.

-- 
Yarden Katz <yarden@umd.edu>  |  Mind the gap
[ comp.ai is moderated.  To submit, just post and be patient, or if ]
[ that fails mail your article to <comp-ai@moderators.isc.org>, and ]
[ ask your news administrator to fix the problems with your system. ]


Relevant Pages

  • Re: sweet-expressions instead of s-expressions?
    ... aren't excellent but somewhat tangential to what I had in mind. ... words: "Remember in thinking through this: Don't fight the syntax! ... reader macros) is either necessary nor particularly appropriate in the ... Lisp, and I don't think that he ...
    (comp.lang.lisp)
  • Re: CLOS Properties Question
    ... >>made by other programmers. ... >>sensible as the language allows. ... author is out of his mind if the code is written in Lisp. ...
    (comp.lang.lisp)
  • Re: emergent/swarm/evolutionary systems etc
    ... Although LISP doesn't look that much better than ... >> Python code, are there any programs out there that let you program, um, ... LabVIEW's the first example that came to my mind, ... commercially successful. ...
    (comp.lang.python)
  • Re: Lisp backend protocol
    ... I made my mind up about which approach I want a long time ago. ... I want to write a user interface in PHP and let Lisp do the backend ... occasional template-language constructs to access data where ... Just use PHP sockets http://es.php.net/sockets to connect to the lisp ...
    (comp.lang.lisp)
  • Re: Reasons for preferring Lisp, and for what
    ... I'd be grateful if Lisp lovers could tell me what makes ... or generate code for other languages using emacs ... bend your mind to their shape. ... But all this programming is actually boring. ...
    (comp.lang.lisp)