[Baypiggies] Discussion for newbies/beginner night talks

Aahz aahz at pythoncraft.com
Sat Feb 10 01:42:32 CET 2007


On Fri, Feb 09, 2007, Chad Netzer wrote:
>
> 8) Use assert() to document your code.

First of all, assert is a statement, not a function.  Second, doctests
are much better for documenting code IMO.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"I disrespectfully agree."  --SJM


More information about the Baypiggies mailing list