Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71356 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42207 invoked from network); 20 Jan 2014 21:18:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jan 2014 21:18:38 -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 108.166.43.91 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 108.166.43.91 smtp91.ord1c.emailsrvr.com Linux 2.6 Received: from [108.166.43.91] ([108.166.43.91:43040] helo=smtp91.ord1c.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C0/BB-02192-8A29DD25 for ; Mon, 20 Jan 2014 16:18:37 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp4.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id C799F14044A; Mon, 20 Jan 2014 16:18:29 -0500 (EST) X-Virus-Scanned: OK Received: by smtp4.relay.ord1c.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 780B814044F; Mon, 20 Jan 2014 16:18:26 -0500 (EST) Message-ID: <52DD929E.5070906@sugarcrm.com> Date: Mon, 20 Jan 2014 13:18:22 -0800 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Sara Golemon CC: Philip Sturgeon , Philip Sturgeon , Robert Stoll , Joe Watkins , "internals@lists.php.net" References: <52DCA3E7.80602@lerdorf.com> <52DCED71.3020207@pthreads.org> <006301cf15f5$22f8df60$68ea9e20$@tutteli.ch> <52DD8D15.7000407@sugarcrm.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Introducing "Array Of" RFC From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > I can only assume you're using sarcasm to highlight the ridiculousness > of that argument, because I know you, and you're not NEARLY that much > of an idiot. Thanks for you kind words (though I would really prefer to keep the topic on PHP and not on appraisal of my mental capacities, however excellent they may appear), but it is not ridiculous not in a little bit. I've seen genericized code in big projects, I've seen it both in Java and C++ (oh horrors!) and when it gets into the third level of templates (and it will) I don't think I want to go there if I can help it. I understand the value it may have for enormous projects with automatic code generation and type checking tools but my opinion is that is not the way PHP should be going towards. I think 90% of the use cases can and should be easily done in user code, and remaining 10% should be still done in user code, even though it would require additional effort. Yes, those 10% would be much easier if PHP language has support for them, but I see value in not sacrificing simplicity for the sake of 10% (actually, I think it's more like 0.1% but that's my personal assessment not based on any research). -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227