Re: reflection api -> camelcaps
| From: | Adam Maccabee Trachtenberg | Date: | Tue, 02 Dec 2003 18:51:14 +0000 |
| Subject: | Re: reflection api -> camelcaps | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6014@lists.php.net to get a copy of this message | ||
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.
-adam
--
adam@trachtenberg.com