[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua is about to become history
- From: PA <petite.abeille@...>
- Date: Sat, 6 May 2006 14:05:54 +0200
On May 05, 2006, at 00:33, John D. Ramsdell wrote:
In Java, I hate the fact that they adopted the smooshed identifier
convention from SmallTalk, rather than the underscore identifier
convention used in many C programs.
By that token, shouldn't the class/file names follow that convention as
well?
- Capitalized_Words_With_Underscores (ugly!)
Instead you have:
- CapitalizedWords (or CapWords, or CamelCase -- so named because
of the bumpy look of its letters[4]). This is also sometimes
known as
StudlyCaps.
Followed by:
- lower_case_with_underscores
http://www.python.org/dev/peps/pep-0008/
I personally stick with Objective-C naming convention, out of habit I
guess:
http://developer.apple.com/documentation/Cocoa/Conceptual/
CodingGuidelines/Articles/NamingBasics.html
http://developer.apple.com/documentation/Cocoa/Conceptual/
CodingGuidelines/Articles/NamingMethods.html
There is no accounting for taste :)
Cheers
--
PA, Onnay Equitursay
http://alt.textdrive.com/