PEP 318: Can't we all just get along?
Roy Smith
roy at panix.com
Thu Aug 19 21:54:07 EDT 2004
In article <mailman.1991.1092960665.5135.python-list at python.org>,
"Delaney, Timothy C (Timothy)" <tdelaney at avaya.com> wrote:
> Neil Zanella wrote:
>
> > Well, allow me to contribute my thoughts on staticmethod and
> > classmethod:
> > I am barely starting out with Python and my class objects are already
> > loaded with so many
> >
> > foo = staticmethod(foo)
>
> These two facts could be somewhat related ... ;)
>
> Tim Delaney
I never quite understood the point of static methods inside classes.
When would you ever need to do that, as opposed to just a function in a
module? In Java's "everything is part of a class" philosophy, it makes
sense, but in Python?
More information about the Python-list
mailing list