Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6151 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46974 invoked by uid 1010); 3 Dec 2003 22:22:09 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 46948 invoked from network); 3 Dec 2003 22:22:09 -0000 Received: from unknown (HELO longsword.omniti.com) (66.80.117.3) by pb1.pair.com with SMTP; 3 Dec 2003 22:22:09 -0000 Received: from ip-66-80-117-2.nyc.megapath.net ([66.80.117.2] helo=[10.80.116.129]) by longsword.omniti.com with asmtp (TLSv1:RC4-SHA:128) (Exim 4.14) id 1ARfNp-0006zC-IZ; Wed, 03 Dec 2003 17:22:09 -0500 In-Reply-To: <3FCE6046.8070509@leetspeak.org> References: <5.1.0.14.2.20031203223915.02f7fb00@127.0.0.1> <62044F50-25D3-11D8-A17A-000393B2B3C0@omniti.com> <3FCE6046.8070509@leetspeak.org> Mime-Version: 1.0 (Apple Message framework v606) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: <2745E411-25DF-11D8-A17A-000393B2B3C0@omniti.com> Content-Transfer-Encoding: 7bit Cc: internals@lists.php.net Date: Wed, 3 Dec 2003 17:22:17 -0500 To: Michael Walter X-Mailer: Apple Mail (2.606) Subject: Re: [PHP-DEV] StudlyCaps From: george@omniti.com (George Schlossnagle) On Dec 3, 2003, at 5:14 PM, Michael Walter wrote: > 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). To be pedantic, the Python style guide (http://www.python.org/peps/pep-0008.html) specifies class names to be StudlyCaps and method names to be either underscore-delimited or StudlyCaps, at the authors leisure. Of course, PHP is not Python. George