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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to