Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64850 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89218 invoked from network); 11 Jan 2013 07:00:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jan 2013 07:00:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.173 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.173 smtp173.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.173] ([67.192.241.173:49609] helo=smtp173.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 11/57-02684-F98BFE05 for ; Fri, 11 Jan 2013 02:00:48 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp17.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 2EAB41883EC; Fri, 11 Jan 2013 02:00:45 -0500 (EST) X-Virus-Scanned: OK Received: by smtp17.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 9EF261883A7; Fri, 11 Jan 2013 02:00:44 -0500 (EST) Message-ID: <50EFB89B.5080202@sugarcrm.com> Date: Thu, 10 Jan 2013 23:00:43 -0800 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: dukeofgaming CC: "internals@lists.php.net" References: <50EDBEA5.1050201@sugarcrm.com> <50EE5DAF.2080901@sugarcrm.com> <50EF2195.3080907@sugarcrm.com> <50EF49AF.9050801@b1-systems.de> <48412E0A-3FCC-440D-8479-39B666EB7213@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: Was Reflection annotations reader - We Need A Vision From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > I have a question, maybe it is dumb: why not those opposed to using > annotations just... refrain from using them? We've been there before. You seem to be thinking as a person who only writes software for himself and has to deal with software only written by you. However, not everybody has such luxury. Once you start dealing with bigger projects, language environment and language ecosystem starts to matter, complexity of the code and complexity of what is being done with the code starts to matter. If some code is too complex to be properly understood, it will contain hard to find bugs, it will be misused, it will be routed around in weird ways due to the fact people don't understand how it works, and in general it will be a pain to all around. Basically, it will be a piece of closed source in an open-source project. And people will hate us for imposing this onto them. So while "don't use it" may work with isolated features (nobody objects to mongodb extension because they don't use mongodb), for language features it does not work. Once it is in, you're stuck with it as a part of your ecosystem. And since PHP has deep BC traditions, you are stuck with it next to forever. > Also, to maybe put things in better perspective and discourage visceral > vote (because the topic will keep arising until the end of times, I'd bank > on that) why not make a list of pros and cons to adding this to the > language? Did you read the past discussions about the topic? There was a lot of argument outlined about pros and cons. > Finally, I remember the lack of support for development has been a > problem... so why not call out for support to the community?, from GSoC to > PHP gurus litterate on Comp Sci and software engineering and architecture? Please note that whoever you call out for will have to support this for years to come. You probably can write an extension and then just drop it out there and move on and let others deal with support. Even then doesn't work that well but at least with extension the problem won't be acute and will be localized. But with language core part you need commitment for at least several years, otherwise it would just be piece of buggy and clunky code that nobody can touch. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227