Are reference cycles bad form?

Peter Hansen peter at engcorp.com
Fri Apr 18 23:09:11 EDT 2003


Manuel Garcia wrote:
> 
> But as a general pricipal, is a design without reference cycles better
> than a design with them?

Roy is right, of course, but putting on blinders and answering the
question asked above, out of context, I would say that coupling is
_as a general rule_ something that worsens a design the more of it
there is, and based solely on that premise a reference cycle is 
worse than something that gets by without the cycle.  On the other
hand, if the code has to jump through hoops to avoid them, go
back to Roy's answer. :-)

-Peter




More information about the Python-list mailing list