Re: Why is LISP syntax superior?



keke@xxxxxxx (Takehiko Abe) writes:

[...]

ii) I tend to think in terms of binary operations and then something as

(* 1 2 3)

looks "non-mathematical". I would prefer

(* * 1 2 3)

Ah. I guess Lisp is not for you then.

I think that either you like it or you hate it on the first
sight. Do not try too hard. It's futile.

Not necessarily. At least, it wasn't for me. When I first saw lisp,
I thought the designers were simply too lazy to write a real parser
and that the language wasn't all that great. Much later, I stumbled
upon Paul Graham's essays where he claimed over and over that lisp was
the most powerful programming language ever invented, and after
reading several of them, I started believing him. To see what it's
all about, I bought Peter Seibel's excellent book, "Practical Common
Lisp," finally got macros and now I'm something of a convert.
Understanding macros is essential to appreciating the power of lisp,
though. IMO, if lisp didn't have its macro system, there'd be no
significant advantage over, say, Python and hardly any justification
for its (lack of) syntax.


Wolfram

.



Relevant Pages

  • Re: New book about Common Lisp: Let Over Lambda
    ... I have read every lisp book I've been able to get my hands on ... Lisp macros are not given nearly enough ... I personally consider Let Over Lambda to be an unofficial sequel ... integral parts of the language. ...
    (comp.lang.lisp)
  • Re: LISPPA
    ... > which describes the unification algorithm in Scheme. ... But let's get back to why I think lisp is superior ... optimization macros or reader ... cases where a running program cannot continue running, ...
    (comp.lang.lisp)
  • Re: Macro functionality at runtime?
    ... we don't know what the subtree is yet. ... "Returns a list of tokens matched to subtree. ... > be optimized out by the lisp compiler. ... >> If we have first class macros, ...
    (comp.lang.lisp)
  • Re: What is the main advantage of macros over functions?
    ... if one is allergic to reading Lambda one may better not use ... Lisp authors, doesn't help you much, I'd say. ... >> Readmacros are a completely different mechanism. ... Macros and Readmacros ...
    (comp.lang.lisp)
  • Re: Python syntax in Lisp and Scheme
    ... Alex Martelli wrote: ... > I never used Common Lisp in production: in the period of my life when I ... > did not happen to use it in TI), with some of the divergence hinging on ... > locally developed sets of macros. ...
    (comp.lang.lisp)