Re: StudlyCaps
| From: | Michael Walter | Date: | Wed, 03 Dec 2003 22:14:30 +0000 |
| Subject: | Re: StudlyCaps | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6148@lists.php.net to get a copy of this message | ||
George Schlossnagle wrote:
My vote is on StudlyCaps for class method and attribute names. This is the standard in many OO languages (SmallTalk, C#, Java - as a parenthetical I don't think that SmallTalks adoption of StudlyCaps (one of the first I'm aware of) had anything to do with _ rendering), and while we do not need to mimic other languages, adopting common conventions is a good thing. On the other hand, there are Common Lisp (foo-bar-baz), Python (mostly foobarbaz) and Ruby (mostly foo_bar_baz).