Re: PostLisp, a language experiment

From: Alexander Repenning (ralex_at_cs.colorado.edu)
Date: 03/11/05


Date: 11 Mar 2005 07:24:34 -0800


Ulrich Hobelmann wrote:
> IMHO the worst thing in Lisp is its many parentheses. []
> If you want to chain several functions [..] in Lisp this looks like
(foo (bar (baz bla)))

I don't know what is causing the sudden and utterly bizarre parentheses
paranoia. The claim about Lisp using many parens is old and false. Most
popular procedural languages would require you to rewrite your
expression:

foo (bar (baz (bla ())))

8 versus 6 parens: Lisp wins!

If you look at more interesting examples don't forget to count "{" and
"}" as well ...

Alex



Relevant Pages

  • Re: PostLisp, a language experiment
    ... > I don't know what is causing the sudden and utterly bizarre parentheses ... The claim about Lisp using many parens is old and false. ... That's why I much prefer Lisp to C dialects. ... It's not exactly paranoia; small changes (like ...
    (comp.lang.lisp)
  • Re: Very poor Lisp performance
    ... If I load my buggy version of your raytracer into lisp and do: ... Things like s%regex%regex% in Perl are one example, lots of syntax ... of the language masks or buries parens or brackets. ... > know conventional languages then there is plenty of evidence that one can ...
    (comp.lang.lisp)
  • Re: Python syntax in Lisp and Scheme
    ... people *do* have to be educated not to be lax when editing lisp - ... their code because then they would have seen that they got their parens mixed ... if you make an edit in python the result of this edit is immediately ... printout of my message in rot-13, ...
    (comp.lang.python)
  • Re: Python syntax in Lisp and Scheme
    ... people *do* have to be educated not to be lax when editing lisp - ... their code because then they would have seen that they got their parens mixed ... if you make an edit in python the result of this edit is immediately ... printout of my message in rot-13, ...
    (comp.lang.lisp)
  • Re: Big Problem with Scheme
    ... display different parentheses at each level. ... change view of parens in a lisp to be a function of its syntactic ... They should be always entered as a parens, ... editor fails to do lisp-specific ...
    (comp.lang.lisp)