Re: reflection api -> camelcaps

From: Date: Tue, 02 Dec 2003 18:59:28 +0000
Subject: Re: reflection api -> camelcaps
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-6015@lists.php.net to get a copy of this message
On Dec 2, 2003, at 1:51 PM, Adam Maccabee Trachtenberg wrote:
On Tue, 2 Dec 2003, George Schlossnagle wrote:
On Dec 2, 2003, at 1:22 PM, Sebastian Bergmann wrote:
George Schlossnagle wrote:
I'd like to convert the reflection API to the current php standard of CamelCaps (instead of underscores) for it's class and method names.
Why deviate from PEAR CS in this?
Well, as the classes are builtin's it's not so clear to me that the packag naming rules apply directly. But this is a sound objection.
This raises my question of my the new Exception class uses CamelCaps instead of underscores? For instance, its methods are: getMessage(), getCode(), etc. I don't think any other built-in method or packaged extension does this.
I've been re-pointed to CODING_STANDARDS, which changed since last I looked. Classnames get underscores, method names get camelcaps. George

« previous php.internals (#6015) next »