Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #31935
| Subject | Re: Style help for a Smalltalk-hack |
|---|---|
| From | Travis Griggs <travisgriggs@gmail.com> |
| Date | 2012-10-23 08:18 -0700 |
| References | <168DF25C-0C43-45F2-BEDC-17AC4210F207@gmail.com> <5085F3DA.1010809@mrabarnett.plus.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2669.1351005517.27098.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Style help for a Smalltalk-hack Travis Griggs <travisgriggs@gmail.com> - 2012-10-23 08:18 -0700
csiph-web