Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6014 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99536 invoked by uid 1010); 2 Dec 2003 18:51:15 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 99512 invoked from network); 2 Dec 2003 18:51:15 -0000 Received: from unknown (HELO miranda.org) (209.58.150.153) by pb1.pair.com with SMTP; 2 Dec 2003 18:51:15 -0000 Received: (qmail 24675 invoked by uid 546); 2 Dec 2003 18:51:14 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 2 Dec 2003 18:51:14 -0000 Date: Tue, 2 Dec 2003 13:51:14 -0500 (EST) X-X-Sender: adam@miranda.org To: George Schlossnagle cc: Sebastian Bergmann , internals@lists.php.net In-Reply-To: <44B57A25-24F7-11D8-A17A-000393B2B3C0@omniti.com> Message-ID: References: <34245E0A-24F1-11D8-A17A-000393B2B3C0@omniti.com> <44B57A25-24F7-11D8-A17A-000393B2B3C0@omniti.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] reflection api -> camelcaps From: adam@trachtenberg.com (Adam Maccabee Trachtenberg) 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