One class per file?

greg greg at cosc.canterbury.ac.nz
Sat Oct 4 21:32:59 EDT 2008


Bruno Desthuilliers wrote:

> Nope. But IIRC, one-class-per-file helps saving on compile/link time. A 
> problem we don't have with dynamic languages !-)

That's mostly true. Although I've noticed that if I have
a very large .py file, it can take a noticeable number
of moments to regenerate the .pyc after I've changed
something.

-- 
Greg



More information about the Python-list mailing list