Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26331 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51525 invoked by uid 1010); 5 Nov 2006 04:21:22 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 51510 invoked from network); 5 Nov 2006 04:21:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2006 04:21:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=cschneid@cschneid.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=cschneid@cschneid.com; 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:49983] helo=mail.gna.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1B/64-31937-FB66D454 for ; Sat, 04 Nov 2006 23:21:20 -0500 Received: from localhost (localhost [127.0.0.1]) by darkcity.gna.ch (Postfix) with ESMTP id 6A6A5D0F0E; Sun, 5 Nov 2006 05:21:16 +0100 (CET) Received: from unknown by localhost (amavisd-new, unix socket) id client-XXXNpJKF; Sun, 5 Nov 2006 05:21:15 +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 6BCC7D0F07; Sun, 5 Nov 2006 05:21:15 +0100 (CET) Message-ID: <454D66C4.2090708@cschneid.com> Date: Sun, 05 Nov 2006 05:21:24 +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> In-Reply-To: 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: > On 4-Nov-06, at 11:18 AM, Christian Schneider wrote: >> Ilia Alshanetsky wrote: >>> Avoid common namespaces and you'll make your application futureproof. >> >> I'm still wary of this approach because it puts the burden on 99% of >> the code to be written (applications) instead of a small, controllable >> subset (core and libraries). > > Translation: blame other people... I'm not sure what you mean here. I was just doing a head count on who has to come up with save names: A few core developers or all of the PHP users. > The language should ALWAYS have the best names possible to simplify > development, because that means convenience for majority of users. No While that's certainly true (and part of me is even thinking it is the right approach) it means that each and everyone writing PHP code (which means a big number of people with all different levels of experience) has to care about naming. So it makes the language a little less simple to use. That's all I'm saying. > matter how popular your app, PHP, the language is still hundreds if not > thousands of times more popular and as such needs of many outweigh needs > of the few. 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? > You can use old PHP too, or modify the source code, it is "open source" > after-all. Come on, that can't be the solution. Think about hosting companies for example. Don't get me wrong: I'm not saying you're wrong, I'm just trying to provide another point of view on the topic here which should be considered IMHO. - Chris