PEP308: Yet another syntax proposal

Alexander Schmolck a.schmolck at gmx.net
Mon Feb 10 21:08:18 EST 2003


Erik Max Francis <max at alcyone.com> writes:

> Andrew Dalke wrote:
> 
> > True.  But 1) this case in real code comes up very rarely (perhaps 1
> > in
> > 5,000 lines of code, based on my analysis) ...
> 
> You keep invoking the frequency argument.  I don't find it convincing. 
> How often are Booleans used? metaclasses? generators? list
> comprehensions?  There are plenty of features in Python that _are
> already present_ that are used very rarely.  But when they are used,
> they do their job with flying colors.

Frequency * expressivness comes close to measure the usefulness of a
construct. So for something that adds near 0 expressiveness, the frequency
argument is extremely convincing.

alex




More information about the Python-list mailing list