Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #31935 > unrolled thread

Re: Style help for a Smalltalk-hack

Started byTravis Griggs <travisgriggs@gmail.com>
First post2012-10-23 08:18 -0700
Last post2012-10-23 08:18 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Style help for a Smalltalk-hack Travis Griggs <travisgriggs@gmail.com> - 2012-10-23 08:18 -0700

#31935 — Re: Style help for a Smalltalk-hack

FromTravis Griggs <travisgriggs@gmail.com>
Date2012-10-23 08:18 -0700
SubjectRe: Style help for a Smalltalk-hack
Message-ID<mailman.2669.1351005517.27098.python-list@python.org>
On Oct 22, 2012, at 6:33 PM, MRAB <python@mrabarnett.plus.com> wrote:

> By the way, in Python the recommended style for variable names (well,
> what you'd call a 'variable' in other languages :-)) is lowercase with
> underscores, e.g. "byte_stream".

We went with the 

"...mixedCase is allowed only in contexts where that's already the prevailing style (e.g. threading.py), to retain backwards compatibility…"

escape clause. :)

The group of us here are working in multiple languages, and all use it (mixedCase) across all of them. Because PEP 8 makes it clear up front that "internal consistency is preferred",  we felt justified in marching on.

--
Travis Griggs
"A vital ingredient of success is not knowing that what you're attempting can't be done." -Terry Pratchett

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web