Re: StudlyCaps
| From: | Robert Cummings | Date: | Wed, 03 Dec 2003 21:44:26 +0000 |
| Subject: | Re: StudlyCaps | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6142@lists.php.net to get a copy of this message | ||
On Wed, 2003-12-03 at 15:58, 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.
+1 for studlyCaps -- contrast IAmAndi versus nameIsAndi, the chosen
variable name makes all the difference.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'