[PEAK] I don't understand uponAssembly()
Doug Quale
quale1 at charter.net
Thu Mar 24 17:29:39 EST 2005
John Landahl <john at landahl.org> writes:
> I would say that rather than largely removing the need for __init__,
> PEAK removes it completely. There's never a reason to write an
> __init__ method for a PEAK component as far as I know.
>
> ...
>
> If you look around the PEAK codebase you'll see that Phillip typically
> names these sort of "startup" routines "__onStart". Whatever you call
> them, you may want to consider using a double underscore prefix for
> these so they'll be harder to call by accident.
I will. Thanks for the good advice.
More information about the PEAK
mailing list