Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69025 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80874 invoked from network); 11 Sep 2013 15:00:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Sep 2013 15:00:34 -0000 Authentication-Results: pb1.pair.com header.from=christopher.jones@oracle.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=christopher.jones@oracle.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain oracle.com designates 156.151.31.81 as permitted sender) X-PHP-List-Original-Sender: christopher.jones@oracle.com X-Host-Fingerprint: 156.151.31.81 userp1040.oracle.com Received: from [156.151.31.81] ([156.151.31.81:27112] helo=userp1040.oracle.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6D/A2-02564-A8580325 for ; Wed, 11 Sep 2013 11:00:28 -0400 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r8BF0Mcr027432 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 11 Sep 2013 15:00:23 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r8BF0MGJ021008 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 11 Sep 2013 15:00:22 GMT Received: from abhmt109.oracle.com (abhmt109.oracle.com [141.146.116.61]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r8BF0Mw4020981 for ; Wed, 11 Sep 2013 15:00:22 GMT Received: from hubby.local (/50.150.115.211) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 11 Sep 2013 08:00:21 -0700 Message-ID: <52308587.1040802@oracle.com> Date: Wed, 11 Sep 2013 08:00:23 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: internals@lists.php.net References: <52243F6C.7070806@sugarcrm.com> <5224EEEF.3070204@sugarcrm.com> <52250E8F.5010805@sugarcrm.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: ucsinet21.oracle.com [156.151.31.93] Subject: Re: [PHP-DEV] Re: Function autoloading From: christopher.jones@oracle.com (Christopher Jones) On 9/5/13 3:32 AM, Pierre Joye wrote: > On Thu, Sep 5, 2013 at 11:34 AM, Nikita Popov wrote: >> On Thu, Sep 5, 2013 at 10:51 AM, Pierre Joye wrote: >>> >>> On Thu, Sep 5, 2013 at 10:23 AM, Sebastian Krebs >>> wrote: >>> >>>>>> That being said, there is always a point in a RFC discussion where >>>>>> there is nothing left to discuss or argue about, we are so far with >>>>>> this one. >>>>> >>>>> >>>>> We've been at this point for a while; no new arguments have been raised >>>>> despite several people asking to bring it back in focus. >>> >>> I totally understand your view on how such discussions go. However it >>> was (for what I read) about technical issues and the tones were >>> correct, could have been more diplomatic but that's fine imho. I am >>> not sure how to solve this problem as we have to discuss things deeply >>> and be sure that active core developers actually understand all the >>> impact of a given proposal will have, that's a must. >> >> >> I don't think this discussion was about technical issues. Let me summarize >> the main discussion points: >> >> * "This will make function calls slower!". Many complaints about this >> change hurting performance, even though it was pointed out early on (and >> detailed in the RFC) that this is not true. >> * "Will you put every function in it's own file?!". This has been repeated >> *a lot* in this thread, even though again it has been pointed out early that >> there are more reasonable autoloading schemes for functions (e.g. >> namespace-to-file) >> * "Just use static methods instead". I don't need to comment on the >> absurdity of this statement. >> * "Which function is autoloaded?" Is the namespaced version or the global >> fallback loaded? >> >> Of these, only the last point has been of any benefit to this discussion. >> There has also been some minor discussion regarding the API, which is also >> relevant. But why does 80% of this thread deal with performance (known >> incorrect assumption), unreasonable suggestions of function-to-file mappings >> (even though alternatives are known) and suggestions to just not use >> functions? It's really hard to fish out the 10 relevant mails in a >> discussion spanning 70 in total. > > Right, it goes circular way too often. I see that in many other MLs. I > however do not see it as a reason to leave, no matter how much it > happens. I also see these questions, discussions or arguing session as > technical matters, be semantic, common sense or anything else. It is > all about being sure about what php will be after a given feature is > added. > >> I'm pretty sure that Anthony's reaction is not directly related to this >> particular thread - rather it is an accumulation of the very same kind of >> discussion we have on nearly every RFC. Discussion is always very circular, >> covering issues that have already been addressed (usually even written down >> in the RFCs). Typically this kind of pointless discussion happens between >> just three or so people and fills the largest part of the thread. Stas is >> usually one of those "three" people, though of course I will not imply >> causation from correlation. > > I very much respect Stas, both for his constructive attitude and the > insane amount of work he puts in PHP and the related projects. As > anyone else, he is however a human, with needs to understand a > specific point very clearly. I do not think there any evil or > domination behavior here. About the N people trying to control > everything, that's why we have RFCs. Maybe we should scan discussions > more frequently and stop them when it goes circular, ask to update the > RFC accordingly and move forward. This is something I tried to do. > Sadly I was busy with other stuff in the last couple of months and was > not able to follow each recent RFC discussions closely. > > Cheers, > I agree with Pierre on all his points in this mail. (Note I haven't done more than skim the fuss around "the post I wish I didn't have to read" so I won't comment further, nor wish my thoughts to be extrapolated in any related direction). Chris -- christopher.jones@oracle.com http://twitter.com/ghrd Free PHP & Oracle book: http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html