fucking the white bunny rabbit

this blog is a feature

The Zen of Python

with 2 comments

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!

You can find it here.

Advertisement

Written by whitenoise

January 27, 2009 at 10:45 pm

2 Responses

Subscribe to comments with RSS.

  1. > You can find it here.

    Or by typing
    import this
    at the python prompt.

    How is is going since LinuxTag ?

    tnorth

    January 31, 2009 at 3:32 pm

  2. Hi Tribalth, I didn’t know about import this :)

    I’m fine, thanks, and you?
    Next weekend I’m going to FOSDEM, will we meet there?

    whitenoise

    January 31, 2009 at 3:56 pm


Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 260 other followers