A really bad idea.
sismex01 at hebmex.com
sismex01 at hebmex.com
Fri Nov 15 12:05:03 EST 2002
> From: Daniel Dittmar [mailto:daniel.dittmar at sap.com]
> Sent: Friday, November 15, 2002 10:43 AM
>
> holger krekel wrote:
> > But in fact i'd like to see some examples of what is readable and
> > what is not readable in your oppinion.
>
> zip, enumerate: readable, because you can search the docs for
> the words. It is also easy to implement variations: returning
> other datatypes, returning an iterator to preserve memory. Thus
> the whole program becomes easier to understand because similar
> task are called in a similar way.
>
> list comprehension: not readable, because you don't know what to
> search for. You can't create dictionary comprehension or generator
> comprehension (both have been proposed on c.l.p), thus making the
> resulting program less regular.
>
> Daniel
>
But these are your *opinions*. And while valid, others on the
same list (or lists) have expressed nothing but rave reviews on
the same things you don't like.
So, what to do?
Macros, a-la Lisp, so anyone can have whatever syntax they want?
A mishmash of features, like Perl?
-gustavo
More information about the Python-list
mailing list