Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26332 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53971 invoked by uid 1010); 5 Nov 2006 04:39:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 53956 invoked from network); 5 Nov 2006 04:39:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2006 04:39:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain php.net from 81.169.182.136 cause and error) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from [81.169.182.136] ([81.169.182.136:32906] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 92/C4-31937-9FA6D454 for ; Sat, 04 Nov 2006 23:39:25 -0500 Received: from localhost (strato.aixcept.de [81.169.182.136]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 631D4610283; Sun, 5 Nov 2006 05:39:17 +0100 (CET) Date: Sun, 5 Nov 2006 05:39:13 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <303397962.20061105053913@marcus-boerger.de> To: Christian Schneider Cc: Ilia Alshanetsky , internals@lists.php.net 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] New Datetime class problem From: helly@php.net (Marcus Boerger) Hello Christian, Sunday, November 5, 2006, 5:21:24 AM, you wrote: > Ilia Alshanetsky wrote: >> On 4-Nov-06, at 11:18 AM, Christian Schneider wrote: >>> Ilia Alshanetsky wrote: >> 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. We had problems with Date, DateTime and Time as all of those are common. Should we name a class that represents data and time info name after say 'PhpDateTimeFart' so that there is no problem? Because if you think further it might be commone to put Php into class names that deal with php... that said wouldn't it be easier for the masses of people, that start using PHP, to not having to read the manual each time a date time class is being used? just my small thought on this Best regards, Marcus