The Samurai Principle

Albert Hopkins marduk at letterboxes.org
Tue Sep 7 07:14:00 EDT 2010


On Mon, 2010-09-06 at 20:48 -0700, Phlip wrote:
> Pythonistas:
> 
> The "Samurai Principle" says to return victorious, or not at all. This
> is why django.db wisely throws an exception, instead of simply
> returning None, if it encounters a "record not found".

How does that compare to, say, the "Kamikaze Principle"? ;)

-a





More information about the Python-list mailing list