Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40385 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5125 invoked from network); 9 Sep 2008 00:22:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Sep 2008 00:22:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=sv_forums@fmethod.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=sv_forums@fmethod.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fmethod.com from 69.16.228.148 cause and error) X-PHP-List-Original-Sender: sv_forums@fmethod.com X-Host-Fingerprint: 69.16.228.148 unknown Linux 2.4/2.6 Received: from [69.16.228.148] ([69.16.228.148:60793] helo=host.fmethod.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 68/61-32333-5B1C5C84 for ; Mon, 08 Sep 2008 20:22:13 -0400 Received: from [83.228.56.37] (port=2460 helo=pc) by host.fmethod.com with esmtpa (Exim 4.69) (envelope-from ) id 1Kcqzi-0001k0-8b for internals@lists.php.net; Mon, 08 Sep 2008 19:22:10 -0500 Message-ID: <978DB023179D42A6BB6D7F7AAA3AC963@pc> To: "'PHP Internals'" References: <486FA5FB.1000300@php.net> <48C55855.4080602@zend.com> <48C5624A.1040901@zend.com> <48C56743.2060706@zend.com> <48C56821.2040805@shitennou.com> <48C5695E.1010404@zend.com> <48C56A51.1000307@shitennou.com> <48C56CEE.6050807@zend.com> <48C56DED.4010407@shitennou.com> <48C57045.6020003@zend.com> <48C5715C.2070102@shitennou.com> <48C574E8.1030504@zend.com> <48C57761.5030708@shitennou.com> <48C57F58.3060703@zend.com> <48C59A7D.50201@shitennou.com> <48C5A0B9.2040300@zend.com> <48C5A90E.6060902@shitennou.com> <48C5ABC4.1010008@zend.com> <48C5B010.8040301@shitennou.com> <48C5B81F.4000504@zend.com> Date: Tue, 9 Sep 2008 03:22:05 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.fmethod.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - fmethod.com Subject: Re: [PHP-DEV] Re: towards a 5.3 release From: sv_forums@fmethod.com ("Stan Vassilev | FM") > Hi! > >> And I'd ask - who wants to do new DB::mysql when they can just do mysql? > > I do. Because this way I don't have to worry my mysql would clash with > someone other's mysql, and I can have all DB related stuff under one roof. It can't clash if you don't "use" someone other's mysql namespace, or you import it under a different alias. It's a very simple concept, honestly. >> The common usage of use is going to be to get the name as short as >> possible, and NOT have to type out db:: everywhere. Do you have code > > There never was a task to make use of as little characters as possible. If > you think that was the point, you are mistaken. There were a task to make > it manageable, but not at the cost of clarity and robustness and > performance. Are you the same guy who so furiously denied having to write "::" explicitly for global functions/classes, for clarity, robustness and performance? How did you switch that fast to the other end of the spectrum?