Re: Relative merits of Lisp-1 vs. Lisp-2?



Pascal Costanza <pc@xxxxxxxxx> writes:

I mostly agree with your assessment. But note that a functional
programming style is somewhat more convenient with a Lisp-1. It's
easier to express things like (((f x) y) z) whereas in a Lisp-2 you
would have to say (funcall (funcall (f x) y) z). So if you have a
strong preference for functional programming (or would like to explore
it more deeply) you might want to try out a Lisp-1 (i.e., Scheme).

Allowing complex expressions for the first place in a form is
orthogonal to a language being a Lisp-1 or Lisp-2. Common Lisp
doesn't support things like ((make-counter 10) 3), but there's no
reason that another Lisp-2 couldn't. It still wouldn't be as
convenient for functional programming, though.
.


Quantcast