Am I crazy regarding the style guide for function names?

phil hunt zen19725 at zen.co.uk
Sat Jun 19 19:02:49 EDT 2004


On Sat, 19 Jun 2004 10:05:03 -0700, Michael Geary <Mike at DeleteThis.Geary.com> wrote:
>Peter Hansen wrote:
>> Judging by the wording of the "function names" section before
>> and after the edit, the earlier version which "allowed"
>> mixedCase names was merely being descriptive (saying what
>> the codebase currently looked like), while the new version is
>> being *prescriptive* (attempting to force a particular style by
>> defining it as the standard).
>>
>> Personally, I don't like the change, but I also have no intention
>> of paying attention to it.  Now that the editor and tab-wars are
>> over, we have to have _something_ to argue over, don't we?  ;-)
>
>I'm glad I'm not the only one. :-)
>
>ClassesLikeThis and methods_like_this sounds like a way to make everybody
>unhappy: people who hate MixedCase and people who hate
>names_with_underscores.
>
>Ruby uses exactly this same convention. I have no idea why.
>
>Myself, I'm sticking with ClassesLikeThis and methodsLikeThis for my Python
>and Ruby code. (I don't like underscores at all!)

How do you find Ruby? From what I've read of it, it has some nice 
features, and is similar to Python in many ways. Do you find it is 
so similar that you get confused between the two?

-- 
"It's easier to find people online who openly support the KKK than 
people who openly support the RIAA" -- comment on Wikipedia
(Email: zen19725 at zen dot co dot uk)  





More information about the Python-list mailing list