Python's simplicity philosophy

Dave Brueck dave at pythonapocrypha.com
Tue Nov 11 11:49:30 EST 2003


> >> The whole 'only one way to do it' concept is almost certainly wrong.
>
> > Bingo!  You disagree with the keystone of Python's philosophy.  Every
> > other disagreement, quite consequently, follows from this one.
>
> The "only one way to do it" mantra  is asinine.  It's like saying that
> because laissez faire capitalism (Perl) is obviously wrong that
> communism (FP) is obviously right.  The truth lies somewhere in the
> middle.

Part of the problem here is that just saying "only one way to do it" is a
horrible misquote, and one that unfortunately misses IMO some of the most
important parts of that "mantra":

c:\>python
Python 2.3.2 (#49, Oct  2 2003, 20:02:00) [MSC v.1200 32 bit (Intel)] on
Type "help", "copyright", "credits" or "license" for more information.
>>> import this
The Zen of Python, by Tim Peters
[snip]
There should be one-- and preferably only one --obvious way to do it.

-Dave






More information about the Python-list mailing list