Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40842 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67668 invoked from network); 2 Oct 2008 19:22:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Oct 2008 19:22:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=greg@chiaraquartet.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=greg@chiaraquartet.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain chiaraquartet.net from 208.83.222.18 cause and error) X-PHP-List-Original-Sender: greg@chiaraquartet.net X-Host-Fingerprint: 208.83.222.18 unknown Linux 2.6 Received: from [208.83.222.18] ([208.83.222.18:52867] helo=mail.bluga.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 24/43-48736-68F15E84 for ; Thu, 02 Oct 2008 15:22:47 -0400 Received: from mail.bluga.net (localhost.localdomain [127.0.0.1]) by mail.bluga.net (Postfix) with ESMTP id D8B6891E0BE; Thu, 2 Oct 2008 12:21:31 -0700 (MST) Received: from pcp077449pcs.unl.edu (pcp077449pcs.unl.edu [129.93.148.56]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bluga.net (Postfix) with ESMTP id 668B291E0B7; Thu, 2 Oct 2008 12:21:30 -0700 (MST) Message-ID: <48E51F81.4010906@chiaraquartet.net> Date: Thu, 02 Oct 2008 14:22:41 -0500 User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070807) MIME-Version: 1.0 To: Brian Moon CC: Jessie Hernandez , internals@lists.php.net, Stanislav Malyshev References: <48D7F5EF.3090202@zend.com> <48E42CD4.8010000@gmail.com> <48E42F68.9060000@php.net> In-Reply-To: <48E42F68.9060000@php.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: [PHP-DEV] Re: namespace issues From: greg@chiaraquartet.net (Greg Beaver) Brian Moon wrote: >>> 3. Functions will not be allowed inside namespaces. We arrived to >>> conclusion that they are much more trouble than they're worth, and >>> summarily we would be better off without them. Most of the >>> functionality could be easily achieved using static class methods, and >>> the rest may be emulated with variable function names, etc. >>> >>> Comments? >> >> >> Figuring that you arrived at the same conclusion nearly three years ago >> regarding my namespace patch, and I also agreed that only classes should >> be allowed inside namespaces >> (http://marc.info/?l=php-internals&m=113320797607651&w=2), I am +1 for >> this proposal. > > > And the congregation wept. Man, how much more bastard ass step child do > functions have to become? Its not bad enough that the OOP stuff is > littered with every little overly complicated bell and whistle. Now > functions are to be left behind with this feature? Geez people. Get > over your OOP arrogance. > Hi Brian, This is a bit amusing to read if one takes a step back :). You should know that there is quite a wide variety of opinions amongst internals developers about the importance of functions vs. classes. One interesting point is that none of the internals developers I know who use functions primarily seem to care about or want namespaces, so they have been almost completely silent on implementation details. To all: your input is heard, and those who actually will do the committing are working very, very hard both on and off list to try to find a solution that will satisfy the largest number of developers. Greg