Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Style help for a Smalltalk-hack

Thread Tools

Re: Style help for a Smalltalk-hack

Travis Griggs
Posts: n/a

On Oct 22, 2012, at 6:33 PM, MRAB <(E-Mail Removed)> 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., 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

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DataGrid header style inconsistent with sortable column style ASP .Net 0 10-14-2005 12:13 AM
All style tags after the first 30 style tags on an HTML page are not applied in Internet Explorer Rob Nicholson ASP .Net 3 05-28-2005 03:11 PM
Need help with Style conversion from Style object to Style key/value collection. Ken Varn ASP .Net Building Controls 0 04-26-2004 07:06 PM
Javascript Style Switcher that remebers current site style in use Hardeep Rakhra HTML 8 01-15-2004 08:00 PM
Style sheets, include one style within another (not inheritance) HTML 1 11-24-2003 01:37 PM