[Zope3-dev] Plans for z3.py

Richard Jones rjones@ekit-inc.com
Thu, 14 Feb 2002 09:03:38 +1100


On Thu, 14 Feb 2002 04:11, Chris Withers wrote:
> Itamar Shtull-Trauring wrote:
> > You might want to use a specific naming convention:
> >
> > Class ServerControl:
> >     def command_start(self):
> >       # xxx
> >     def command_stop(self):
> >       # xxx
> >
> > i.e. commands are any method that begins with "command_". This makes
> > adding utility methods much easier, since you can differentiate between
> > published and non-published methods.
>
> That is an abomination worthy of Zope 2!

That seems very harsh - especially with the pattern already in place with the 
standard library cmd.py module! And please, offer an alternative?


    Richard