merits of Lisp vs Python

Paul Rubin http
Fri Dec 15 21:40:29 EST 2006


André Thieme <address.good.until.2007.feb.05 at justmail.de> writes:
> >> How complicated ss it to say "cmp(a, b)" compared to  "a cmp b"?
> > It gets worse when the expressions are nested.
> 
> So instead of
> cmp(foo(a, b, c), bar(x, y, z)) you would prefer
> foo(a, b, c) cmp bar(x, y, z) ?

Don't be silly.  Some operators are more natural as infix and others
as functions.  It's just like in natural language.  People have an
innate ability to make such distinctions and it's fine for a
programming language to use it. 



More information about the Python-list mailing list