Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75564 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24881 invoked from network); 15 Jul 2014 20:11:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jul 2014 20:11:53 -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.67 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 108.166.43.67 smtp67.ord1c.emailsrvr.com Linux 2.6 Received: from [108.166.43.67] ([108.166.43.67:54515] helo=smtp67.ord1c.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 79/28-15121-80B85C35 for ; Tue, 15 Jul 2014 16:11:52 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp1.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id C30C0380628; Tue, 15 Jul 2014 16:11:49 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp1.relay.ord1c.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id DBC9538073A; Tue, 15 Jul 2014 16:11:48 -0400 (EDT) X-Sender-Id: smalyshev@sugarcrm.com Received: from Stass-MacBook-Pro.local (108-66-6-48.lightspeed.sntcca.sbcglobal.net [108.66.6.48]) (using TLSv1 with cipher DHE-RSA-AES128-SHA) by 0.0.0.0:465 (trex/5.2.4); Tue, 15 Jul 2014 20:11:49 GMT Message-ID: <53C58B03.1020506@sugarcrm.com> Date: Tue, 15 Jul 2014 13:11:47 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Andrey Andreev , Rowan Collins CC: "internals@lists.php.net" References: <08503591-EFC8-48E6-984E-FFC292C5EA5F@ajf.me> <16D48604-0C0A-4613-91A4-21392E3A2636@ajf.me> <05CE2216-C5D9-4937-9F2E-AA1407284D9F@ajf.me> <53C460DF.5040304@sugarcrm.com> <53C53A96.2040303@gmail.com> <53C55342.1010207@sugarcrm.com> <53C563B3.6060905@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Scalar Type Hinting With Casts (re-opening) From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > The PHP community that I know, wants to have _both_ type cast hinting > and strict type declarations. No, different members of the community want different options, because it would serve their particular use cases. But that does not mean it necessarily must be part of PHP - not all use cases must and can be served by the language. Something will inevitably be left out. > PHP internals on the other hand, would rather argue to death over PHP internals would rather have consistent implementation that we can build on and support for next 10 years than serve one particular use case which may even not be there in 2 years or create a hodgepodge of syntaxes just to ensure nobody is left out. Yes, that means sometimes we argue a lot and sometimes we reject your favorite use case. Figuring what is right for a tool used by a diverse community of millions is not easy, and what could seem obviously right to you may seem as obviously wrong to somebody else. Sometimes it is better to not implement something than implement it wrong and be stuck with it for the next decade. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/