merits of Lisp vs Python

Juan R. juanrgonzaleza at canonicalscience.com
Sat Dec 16 06:47:33 EST 2006


greg ha escrito:
> I don't know about the other Pythonistas in this
> discussion, but personally I do have experience with
> Lisp, and I understand what you're saying. I have
> nothing against Lisp parentheses, I just don't agree
> that the Lisp way is superior to the Python way in
> all respects, based on my experience with both.

Parentheses have two advantages over identation. First is they can be
used both inline and block.

The inline (a b (c d (e f g))) needs to be formatted in several Python
lines. Therein SLiP (Python) got problems for inline mixed markup but
LML (LISP) or SXML (Scheme) do not.

Second is that i do not need special editors for writting/editting. It
is more difficult to do identation and editing by hand in 'Notepad'
that adding parens from keyboard [*].

[*] Tip. Type always () and next move your cursor inside ( _ ). You
never forget a closing ) this way!




More information about the Python-list mailing list