[Zope3-Users] Re: Iteration over non-sequenze

Philipp von Weitershausen philipp at weitershausen.de
Fri Feb 25 06:51:25 EST 2005


Florian Lindner wrote:
> As I suspeted: A stupit mistake.
> 
> The implementation did not subclassed IContained resp. BTreeContainer.
> 

Mistakes like those are very human and happen to everyone. However, you 
can avoid spending hours looking for the problem (and potentially asking 
for help) through automatic test mechanisms, such as unit testing. Just 
try it out: next time you write something, write a unit test (e.g. in 
the form of a doctest) *before* you try it out in a browser... You'll be 
surprised how much sooner you find your typos, syntax errors, etc...

Philipp



More information about the Zope3-users mailing list