Re: Road to Clojure Survey



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
.



Relevant Pages

  • Re: Questions on Using Python to Teach Data Structures and Algorithms
    ... core structures, and "better than textbook" implementations of many core ... algorithms, so lots of things can be done more efficiently by combining ... language's built-in data structures are, since the intent is for the ...
    (comp.lang.python)
  • Re: Road to Clojure Survey
    ... but it has to redefine many of the core Lisp ... Because the core algorithms in the COMMON-LISP package do not ... which of course uses imperative semantics. ... imperative/functional divergence that was the most trouble... ...
    (comp.lang.lisp)
  • Re: Road to Clojure Survey
    ... FSet is very nice, but it has to redefine many of the core Lisp ... Because the core algorithms in the COMMON-LISP package do not ... AFAIR, the main virtues of Clojure, that you've advertised, are ...
    (comp.lang.lisp)
  • Re: D7 Compiler Bug
    ... RAD, as understood in relation to Delphi, is a visual design system. ... The VCL is not only the system on top of which Delphi's RAD system ... _all_ programming is about: data structures and algorithms. ...
    (comp.lang.pascal.delphi.misc)
  • Re: ANN: Tomes of Delphi: Algorithms & Data Structures on sale again
    ... Julian M Bucknall wrote: ... Algorithms and Data Structures is available for sale again. ... have to pay well over the odds for a copy, you can get your very own, printed ...
    (borland.public.delphi.non-technical)