Noob question: Is all this typecasting normal?

Russ P. Russ.Paielli at gmail.com
Fri Jan 2 22:28:15 EST 2009


On Jan 2, 6:15 pm, s0s... at gmail.com wrote:
> On Jan 2, 7:20 pm, Ben Finney <bignose+hates-s... at benfinney.id.au>
> wrote:
>
> > vk <vmi... at gmail.com> writes:
> > > > If there were, I would expect it to conform with PEP 8 (get those
> > > > ugly camelCase names outta there :-)
>
> > > haha, please forgive me.
> > > I'll try and think of some more creative names.
>
> > They don't need to be creative; they merely need to conform with the
> > naming scheme as laid out in the PEP.
>
> If it's something to be included in the standard library, I agree
> (just for consistency, not because using_underscores is better).
>
> But for user code, I prefer mixedCase.
>
> +1 for mixedCase!
>
> Sebastian

I agree. I find underscores in variable names to be both ugly and
harder to read. At first glance, the underscores are easy to miss.



More information about the Python-list mailing list