Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49336 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22708 invoked from network); 11 Aug 2010 14:24:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Aug 2010 14:24:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=rquadling@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rquadling@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-wy0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:43402] helo=mail-wy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 00/B3-01618-7A2B26C4 for ; Wed, 11 Aug 2010 10:24:40 -0400 Received: by wye20 with SMTP id 20so194244wye.29 for ; Wed, 11 Aug 2010 07:24:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:reply-to :in-reply-to:references:from:date:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=cGD2sVWaKhF8q28/TYr+bqLFy95KWm0bvLeDKhM85qQ=; b=Hii6PvXZd76eWDysKWDdw3dkMPn2dA2FcAggfUSjhZpeaCxi2l+VQ+cZv2n37ee1iF zcLw2V1u9Og7sW3Gt01wlNF3os9FLMnYi1xFnbEP14/bqm0z1T9b9VA4VUc3BnChWsbN jDDBNyRSsdPwYhZg69/u+cyBVEafU4hcUZWAE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=BRFS7dvHqSzYkkRG0B41EnL09ozk5MeRUSf7m2m3O3DHpCo8QRYiCRq94Eba8y4Rf+ JHPiANYFW/fwHjWqFkQpfqh52JBNPmm6ArjTSEpfcWdcHwGIrindniY8eGuS4sk2GhDi CVdwXC9KyhBekaQI345a+p0Uk5gd1BLZsqFuk= Received: by 10.216.17.194 with SMTP id j44mr1588505wej.68.1281536677195; Wed, 11 Aug 2010 07:24:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.7.196 with HTTP; Wed, 11 Aug 2010 07:19:21 -0700 (PDT) Reply-To: RQuadling@googlemail.com In-Reply-To: <7.0.1.0.2.20100811165446.0f024fd0@zend.com> References: <1281478269.6608.292.camel@guybrush> <4C61D6FB.6030108@sugarcrm.com> <7.0.1.0.2.20100811085214.0f024300@zend.com> <7.0.1.0.2.20100811140400.0f024ab0@zend.com> <7.0.1.0.2.20100811165446.0f024fd0@zend.com> Date: Wed, 11 Aug 2010 15:19:21 +0100 Message-ID: To: Zeev Suraski Cc: Ilia Alshanetsky , Stas Malyshev , =?UTF-8?B?Sm9oYW5uZXMgU2NobMODxpLDgsK8dGVy?= , Kalle Sommer Nielsen , Internals , Derick Rethans Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Strict typing (was: Typehints) From: rquadling@gmail.com (Richard Quadling) On 11 August 2010 15:13, Zeev Suraski wrote: > At 15:14 11/08/2010, Richard Quadling wrote: >> >> On 11 August 2010 12:10, Zeev Suraski wrote: >> > We need to remove strict typing from trunk before we release anything >> > 'official' from php.net >> >> I thought "trunk" is, to some degree, the "work in progress" / >> "developers only", YMMV branch. Pretty much anything/everything in >> there is subject to change. No money back guarantees. Etc. > > Supposedly we switched to this strategy although I'm not sure why, nor I > recall any discussion about it - although I may have missed it. =C2=A0We = never > ever treated HEAD this way in the CVS days. =C2=A0So sure, now it's calle= d > 'trunk', but why we should deviate from our decision making processes (as > lax as they may be) because we changed version control systems is beyond = me. > >> For an official release, even as a "Here is what we are working on. It >> might not be perfect, but we like it" release, a separate branch would >> be created. > > It's really not a matter of branches, trunk or HEAD. =C2=A0It's a matter = of what > 'php.net' puts its virtual stamp of approval on. =C2=A0If 5.4 alpha 1 cam= e out > with strict typing in it, it would send two very strong messages to the P= HP > community: > > 1. =C2=A0The next version of PHP is going to be named 5.4 - something tha= t wasn't > agreed upon (although personally I don't mind that much). > 2. =C2=A0"We think strict typing is a good idea, here, play with it". =C2= =A0Well, > turns out that the collective 'we' doesn't really think that at all. =C2= =A0It's > no big news either, it's been known for many months. > > That goes back to my first paragraph. =C2=A0Personally, I don't like the = 'shoot > first, ask questions later' approach that we supposedly switched to > recently. =C2=A0To me it makes a whole lot more sense to discuss first, a= nd only > once a decision is made - go ahead and implement it. =C2=A0Whether we go = formal > with RFCs or less formal on internals@ (depending on the scope) - either = way > it's way better than committing first and only then discussing. =C2=A0Onc= e in > trunk we suddenly need a great reason to remove it, since trunk is now th= e > new 'status quo'. =C2=A0Thankfully in the case of strict typing there was= a > strong, clear message from the community 'don't do it', but what about > smaller features? > > 'Shoot first, ask questions later' equates 'bias for change'. =C2=A0Is th= at where > we want to be? =C2=A0IMHO no, we should carefully consider every change w= e make > to the core language at this point in time. > > Maybe I'm old school, but in my opinion, trunk should only contain > agreed-upon features. =C2=A0It should also always build and pass tests > successfully. =C2=A0It's not the wild-west version of PHP, it's PHP's nex= t > version, in progress. =C2=A0Want to work on something experimental or > controversial? =C2=A0Do that in a branch, merge it if & when it gets acce= pted to > the language. > > Zeev > > Thank you for that Zeev. --=20 Richard Quadling.