RE: [PHP-DEV] reflection api -> camelcaps

From: Date: Wed, 03 Dec 2003 01:27:23 +0000
Subject: RE: [PHP-DEV] reflection api -> camelcaps
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-6042@lists.php.net to get a copy of this message
> From: Derick Rethans [mailto:derick@php.net] > Sent: Tuesday, December 02, 2003 8:02 PM > On Tue, 2 Dec 2003, George Schlossnagle wrote: > > > > > On Dec 2, 2003, at 1:18 PM, Derick Rethans wrote: > > > > > On Tue, 2 Dec 2003, 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. > > >> Any objections? > > > > > > yes > > > > Care to elaborate? > > Sure, i'll repeat what I said on IRC: > 19:47 <@Derick> 1. it's not any standard > 19:47 <@Derick> 2. it's ugly as hell > 19:47 <@Derick> (it was 'standard' for a while but due to popluair demand > we > removed it from coding_standards) > 19:57 <[GeorgeS]> Derick: didn't see the change to CODING_STANDARDS. > But that's a good reason. > > Please have a look at the archives for this, as I remember having a > discussion about this too. IMO all internal functions use the underscore > way, so why deviate for methods? (This is as far as I go, no need to > discuss this again) There was an argument raised by Marcus a while back. The main point was that PHP's lack of preserving of case would be a major draw back to studlyCaps. However since he solved the issue the discussion faded away (for obvious reasons). Regards, Lukas

« previous php.internals (#6042) next »