Archive

Archive for May, 2009

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!

May 24, 2009 Leave a comment

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!

The Zen of Python, by Tim Peters

A little easter egg built into the python interpreter; type “import this” at the command prompt.  This is the first thing I learned from O’Reilly’s Learning Python book I bought yesterday.

Advertisements
Categories: programming, Python, quote

Computer Science Students Receive State Police Award for Helping Combat Child Porn

May 21, 2009 Leave a comment

Computer Science Students Receive State Police Award for Helping Combat Child Porn

Tucker, Jeremy, and I received an award from the Maine State Police yesterday.  It was a very humbling ceremony; a lot of officers and citizens received bravery commendations for dealing with hostage situations and violent criminals at the same ceremony.  To think that a piece of software we wrote was deserving of such praise was incredible.

Professor Majercik, me, Tucker, Jeremy

Whole flickr set

Categories: link