Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26344 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3361 invoked by uid 1010); 5 Nov 2006 16:16:00 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 3346 invoked from network); 5 Nov 2006 16:16:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2006 16:16:00 -0000 Authentication-Results: pb1.pair.com header.from=iliaal@gmail.com; sender-id=pass; domainkeys=good Authentication-Results: pb1.pair.com smtp.mail=iliaal@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.162.194 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: iliaal@gmail.com X-Host-Fingerprint: 64.233.162.194 nz-out-0102.google.com Linux 2.4/2.6 Received: from [64.233.162.194] ([64.233.162.194:3606] helo=nz-out-0102.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 38/23-10980-C3E0E454 for ; Sun, 05 Nov 2006 11:15:59 -0500 Received: by nz-out-0102.google.com with SMTP id o1so663155nzf for ; Sun, 05 Nov 2006 08:15:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=bAf8qPVwMfOErfYEUgXEmGr0HbUbAlOaiYwcwogfjQmaSJwItCfw4V2RxfzDkbjhO0DQhmzVzH6PN9e7O7xZc8QVylh7I0/TYzfb8Ihm02EurVwpXqO51nIc1n3q+5v8Up0eSUbselWLQXhwto/b/MreKynODNd0Bo+6VoYSdr8= Received: by 10.65.239.13 with SMTP id q13mr3997465qbr.1162743352697; Sun, 05 Nov 2006 08:15:52 -0800 (PST) Received: from ?192.168.1.6? ( [74.108.69.82]) by mx.google.com with ESMTP id e16sm5207181qba.2006.11.05.08.15.51; Sun, 05 Nov 2006 08:15:52 -0800 (PST) In-Reply-To: <454D66C4.2090708@cschneid.com> References: <005e01c6ff82$e6092c30$ec01010a@intranet.db> <2FAA3BA3-283C-445D-9648-70C207FF2251@prohost.org> <454CBD65.5040205@cschneid.com> <454D66C4.2090708@cschneid.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <1465A1B3-C0AE-48E0-9E3A-66BDC57D89F3@prohost.org> Cc: internals@lists.php.net Content-Transfer-Encoding: 7bit Date: Sun, 5 Nov 2006 11:15:44 -0500 To: Christian Schneider X-Mailer: Apple Mail (2.752.3) Sender: Ilia Alshanetsky Subject: Re: [PHP-DEV] New Datetime class problem From: ilia@prohost.org (Ilia Alshanetsky) On 4-Nov-06, at 11:21 PM, Christian Schneider wrote: > 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. 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. Google's code search confirms we've made the right decision as it would seem there are only about 8 results for applications already misusing that namespace. >> s 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? 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. >> 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. 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. Ilia Alshanetsky