Re: Naming conventions



Ben Finney wrote:
"glenn" <glenn@xxxxxxxxxxxxxxxxxxx> writes:

Bruno Desthuilliers wrote:
It might be better to use newstyle classes if you can. Also, the
convention is to use CamelCase for classes names (unless you have
a strong reason to do otherwise).

Note that this style is more correctly called TitleCase, since the
first letter of *every* word is capitalised, like in a headline (or
title). "camel case" is different -- see below.

Oops, sorry - my mistake.

--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb@xxxxxxxxxxx'.split('@')])"
.



Relevant Pages

  • Re: Piano Tuning and "stretch"
    ... tautology then I am guilty but it still doesn't give me any reason ... "Convention" is not a reason ... account of what people have done and does not give reasons why it was ...
    (rec.music.theory)
  • Re: How to name variables in a program?
    ... Phlip wrote: ... >> this convention works with prefixes to indicate variable type. ... > This minor editor feature is a major reason all the early MS code used HN. ... > pointers, ...
    (comp.programming)
  • Re: Selective snipping: was/Re: Selective Memory (was) Re: Name calling, and other playground games
    ... people's reason lext they close their minds to you; ... Language is a convention, an art ... Government" and that the "Supreme Court" was initially referred to as ...
    (alt.gathering.rainbow)
  • Re: "heres" vs "herere"
    ... my Java tutorial become quite popular. ... convention and tradition, and i snub tradition or convention when they ... Of course, if we delve deeper into the issue, the other reason is ... i have become firm about the uselessness of its capitalization. ...
    (alt.usage.english)
  • Re: Case sensitive and ludicrous statements
    ... reason to complain about it. ... in a case-insensitive language, the dashes most certainly DO add ... > took very little time for me to come to prefer camelcase. ... reasons that have nothing to do with real ergonomics, ...
    (comp.lang.python)