Purely emotional perspective

Jeffrey Froman jeffrey at I.slack
Wed Aug 11 10:29:45 EDT 2004


Michael J. Fromberger wrote:

> Assuming we take the Zen of
> Python as a set of philosophical design goals for Python, I argue that
> all the proposed uses of decorators so far fail the Zen on the following
> axes:  Beauty, Simplicity, Sparseness, Readability, Special Cases, One
> Obvious Way, and Difficulty of Explanation.

Exactly so. Apparently for the people who design Python, however, this is
not a philosophy but a joke (note that it's in the Humor section at
python.org.)

For me, however, it's not a joke. I choose python because it reflects
choices I make for my life as a whole. To this end, I do still have
recourse without having to abandon python yet:

I will keep the Zen; I will boycott decorators.

If it is true (as it has been asserted in this newsgroup and elsewhere) that
the vast majority of python developers do not like decorators, then
boycotting them will make them go away despite all efforts to introduce
them. Avoid using them. Avoid (or "fix") code that uses them.

Ultimately, what goes into python code is up to those of us who write the
code.

Jeffrey



More information about the Python-list mailing list