[Tutor] syntax error that i cant spot!
Corey Richardson
kb1pkl at aim.com
Sun Jan 2 16:00:59 CET 2011
On 01/02/2011 09:40 AM, Brett Ritter wrote:
> On Sat, Jan 1, 2011 at 9:10 PM, Alan Gauld <alan.gauld at btinternet.com> wrote:
>> Why avoidCamelCase? I actually prefer it to using_non_camel_case
>
> The readability is an often argued topic - I myself find the space of
> names_in_underscores to be more readable (words are distinct), but I
> try to follow the common conventions of the languages I'm using, and
> Python appears to use camelCase more than not.
>
I tend to disagree with that. In the stdlib, as well as the builtins,
many, many methods are alllowercase, for example str.isdigit() or
socket.gethostname().
More information about the Tutor
mailing list