Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26353 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29676 invoked by uid 1010); 5 Nov 2006 17:48:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 29661 invoked from network); 5 Nov 2006 17:48:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2006 17:48:17 -0000 Authentication-Results: pb1.pair.com header.from=cschneid@cschneid.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=cschneid@cschneid.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain cschneid.com from 195.226.6.42 cause and error) X-PHP-List-Original-Sender: cschneid@cschneid.com X-Host-Fingerprint: 195.226.6.42 darkcity.gna.ch Linux 2.5 (sometimes 2.4) (4) Received: from [195.226.6.42] ([195.226.6.42:37473] helo=mail.gna.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id ED/D6-10980-ED32E454 for ; Sun, 05 Nov 2006 12:48:16 -0500 Received: from localhost (localhost [127.0.0.1]) by darkcity.gna.ch (Postfix) with ESMTP id 3B15DD1099; Sun, 5 Nov 2006 18:48:12 +0100 (CET) Received: from unknown by localhost (amavisd-new, unix socket) id client-XXLHpJzm; Sun, 5 Nov 2006 18:48:09 +0100 (CET) Received: from [192.168.1.42] (217-162-171-242.dclient.hispeed.ch [217.162.171.242]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by darkcity.gna.ch (Postfix) with ESMTP id 03A84D108D; Sun, 5 Nov 2006 18:48:08 +0100 (CET) Message-ID: <454E23DA.8000705@cschneid.com> Date: Sun, 05 Nov 2006 18:48:10 +0100 User-Agent: Thunderbird 1.5.0.7 (Macintosh/20060909) MIME-Version: 1.0 To: Ilia Alshanetsky CC: internals@lists.php.net References: <005e01c6ff82$e6092c30$ec01010a@intranet.db> <2FAA3BA3-283C-445D-9648-70C207FF2251@prohost.org> <454CBD65.5040205@cschneid.com> <454D66C4.2090708@cschneid.com> <1465A1B3-C0AE-48E0-9E3A-66BDC57D89F3@prohost.org> In-Reply-To: <1465A1B3-C0AE-48E0-9E3A-66BDC57D89F3@prohost.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at gna.ch Subject: Re: [PHP-DEV] New Datetime class problem From: cschneid@cschneid.com (Christian Schneider) Ilia Alshanetsky wrote: > When we were picking a name the discussion was public on this very list > and based on our analysis of what names people were using in their > application and what would be an ideal name DateTime was picked. I'm not questioning this decision. I'm talking about the policy for further classes. Maybe I should change the topic to be clearer... >> A little thought experiment: Let's assume the number of application >> classes (and the usage of those classes) is on average higher than >> those of the core classes. Would that change the situation? > > The number of current users does not matter, simply because are you not > comparing equivalent things here. You are comparing existing code to > something that just came out. Forget about all the code out there: Let's say the average application uses its own classes 10 times and PHP core classes only 5 times, which one should have the right to the short and more convenient name? And I'm not saying that this is the case, it's just a thought. >> Come on, that can't be the solution. Think about hosting companies for >> example. > > They as a rule use old versions, in fact I bet you'd be hard pressed to > find a big or even a medium size hosting company offering PHP 5.2 just > now. So you have plenty of time to fix your code. I could be mean and ask why that is. But that's not the discussion here. We're talking about the naming policy of classes in the long run. Again: I'm not asking to change anything, I'm just mentioning that there are different point of views (PHP core centric vs. application centric ones) which both have to be recognized. - Chris