For review: PEP 308 - If-then-else expression
Aahz
aahz at pythoncraft.com
Sun Feb 9 02:53:33 EST 2003
In article <3E460511.AB633977 at alcyone.com>,
Erik Max Francis <max at alcyone.com> wrote:
>
>This frequency metric for judging whether a feature is warranted is a
>red herring, it seems to me.
What was implicit in mentioning frequency, I think, is that the actual
metric is frequency times power. Metaclasses are very, very powerful,
so even a low frequency gives them many "feature points". Also,
metaclasses came essentially for free with new-style classes, which have
many other reasons for existing. Conditional expressions don't have
much power, so they need a high useful frequency to warrant changing the
language.
Compare, for example, the high frequency with which booleans will
permeate the codebase now that they exist.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Register for PyCon now! http://www.python.org/pycon/reg.html
More information about the Python-list
mailing list