Yet Another Case Question

Steve Holden sholden at holdenweb.com
Tue Feb 25 07:54:37 EST 2003


"Greg Ewing (using news.cis.dfn.de)" <me at privacy.net> wrote in message
news:b3el7r$1l3jvo$1 at ID-169208.news.dfncis.de...
> Alex Martelli wrote:
> > Case sensitivity does NOT enforce the common coding convention
> > you seem to like so much.  Don't you think math.pi IS a constant?
> > Yet it's not in ALLCAPS, isn't it?  What about class async_chat
> > in module asynchat?  Isn't it a class?  So where are its InitialCaps?
> > And what about function AudioDev in module audiodev -- it's a
> > function, yet, where is its initialLowerCase...?  We can go on
> > finding examples for hours even just withing the Python standard
> > library, so what "enforcement" are you TALKING about?!
>
> The Python standard library certainly leaves something
> to be desired in the area of uniform naming conventions.
> But to me that's an argument for tidying it up, and
> documenting a set of conventions for future contributors
> to follow -- not for abandoning case-sensitivity.
>

PyCon sprint, anyone?

regards
--
Steve Holden                                  http://www.holdenweb.com/
Python Web Programming                 http://pydish.holdenweb.com/pwp/
Register for PyCon now!            http://www.python.org/pycon/reg.html







More information about the Python-list mailing list