Re: Road to Clojure Survey
- From: Rich Hickey <richhickey@xxxxxxxxx>
- Date: Fri, 20 Feb 2009 08:05:47 -0800 (PST)
On Feb 20, 8:24 am, Pascal Costanza <p...@xxxxxxxxx> wrote:
André Thieme wrote:
Scott Burson schrieb:
On Feb 18, 9:21 am, "Mark H." <mark.hoem...@xxxxxxxxx> wrote:
On Feb 9, 11:30 pm, Kenneth Tilton <kentil...@xxxxxxxxx> wrote:
In 25 words or less, why is Clojure better than Common Lisp?Seqs partake of some of the awesomeness of SERIES, but are easier to
use and more native to functional programming.
One more time, I can't resist... ;-}
http://common-lisp.net/project/fset/
Yes, not bad.
But I doubt someone could use this after having used Clojure.
It misses the nice reader macros.
It does not plug in into CL. For example one has to use image
instead of mapcar.
That's an empty statement. Clojure also doesn't "plug in" into Java.
It's not an empty statement, it's one whose point keeps getting missed/
avoided.
FSet is very nice, but it has to redefine many of the core Lisp
algorithms:
http://common-lisp.net/project/fset/Site/Tinaa-Doc-1.2/fset-package/index.html
Why? Because the core algorithms in the COMMON-LISP package do not
extend to new user-defined types like the ones defined by FSet's
author, and more important, neither do existing algorithms defined in
terms of the CL core. That's what is meant by "It does not plug in
into CL". The analogy is not between Clojure plugging into Java but
between new user-defined data types plugging into Clojure's core
algorithms - they can. So such rewriting of algorithms is not
necessary. Old/core algorithms work with new data structures and new
algorithms work with old data structures.
This is not a small nicety, but a critical feature of a language that
purports to be extensible, IMO.
Rich
.
- Follow-Ups:
- Re: Road to Clojure Survey
- From: Scott Burson
- Re: Road to Clojure Survey
- From: Vsevolod
- Re: Road to Clojure Survey
- From: Pascal Costanza
- Re: Road to Clojure Survey
- From: Tobias C. Rittweiler
- Re: Road to Clojure Survey
- References:
- Road to Clojure Survey
- From: Kenneth Tilton
- Re: Road to Clojure Survey
- From: Mark H.
- Re: Road to Clojure Survey
- From: Scott Burson
- Re: Road to Clojure Survey
- From: André Thieme
- Re: Road to Clojure Survey
- From: Pascal Costanza
- Road to Clojure Survey
- Prev by Date: Re: portable disabling of cl package lock
- Next by Date: Re: question about Clojure immutable structures
- Previous by thread: Re: Road to Clojure Survey
- Next by thread: Re: Road to Clojure Survey
- Index(es):
Relevant Pages
|