Use self.vars in class.method(parameters, self.vars)

John Gordon gordon at panix.com
Fri Jul 22 15:00:27 EDT 2011


In <8b6e5067-8861-4ffe-9e3f-4b932c79878e at gc8g2000vbb.googlegroups.com> rantingrick <rantingrick at gmail.com> writes:

> On Jul 22, 10:43=A0am, "bruno.desthuilli... at gmail.com"
> <bruno.desthuilli... at gmail.com> wrote:
> >
> > class names should start with an uppercase letter:

> WRONG! Class identifiers should use the capwords convention

>  * class Foo
>  * class FooBar
>  * class FooBarBaz

But those names do, in fact, start with an uppercase letter as Bruno said.

Perhaps Bruno omitted how the remainder of the name should be handled, but
he was certainly right about the first letter being capitalized.

Why did you say he was wrong?

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon at panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"




More information about the Python-list mailing list