Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82080 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67667 invoked from network); 7 Feb 2015 03:48:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Feb 2015 03:48:11 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.47 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.192.47 mail-qg0-f47.google.com Received: from [209.85.192.47] ([209.85.192.47:38508] helo=mail-qg0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2A/E1-55814-AFA85D45 for ; Fri, 06 Feb 2015 22:48:11 -0500 Received: by mail-qg0-f47.google.com with SMTP id l89so14369104qgf.6 for ; Fri, 06 Feb 2015 19:48:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=FHQSX6MEMbt5fxc95OQwWPyntb6YVf2iXZ0G7WZyO4Q=; b=QFEkaa5e7YDcdcQYKDWFBhf3j/SU847bqnWYLLnbjWTbEP3/90Fy/+7e5O3JeM4wrK hFdFjIqPx+dPwMmEJRIRgYpKDilpPe6q3oixLKUi8hN8ITznDo8mk022EJVZYSLWFprh vvtsX0ab0Mw/QC4gpte4fYmAOt5+wJQg+f0ElyuX58LRmDZXaSe4CZKU7SITgp5osdcC DFDklIk5BVFkhpVBkQph/0/LCqhtKsTSnTP7Tb2XFL0kkfqNVSbqmsj8CFiIN6qotdZL kfGi41DVTDYRRB1OHqNjD2NPxQklGcnCpz0nrNXZpBEPiJdi1ewzxru1f27JP+Dw2TGr AIOg== MIME-Version: 1.0 X-Received: by 10.229.19.68 with SMTP id z4mr1459900qca.14.1423280887691; Fri, 06 Feb 2015 19:48:07 -0800 (PST) Received: by 10.96.3.168 with HTTP; Fri, 6 Feb 2015 19:48:07 -0800 (PST) In-Reply-To: <031501d04217$b393bff0$1abb3fd0$@tekwire.net> References: <54D37D41.2030706@hoa-project.net> <54D470FA.6000303@hoa-project.net> <02d301d041f3$0c5f3990$251dacb0$@tekwire.net> <031501d04217$b393bff0$1abb3fd0$@tekwire.net> Date: Sat, 7 Feb 2015 10:48:07 +0700 Message-ID: To: =?UTF-8?Q?Fran=C3=A7ois_Laupretre?= Cc: Yasuo Ohgaki , Dmitry Stogov , "Ivan Enderlin @ Hoa" , PHP internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Design by Contract From: pierre.php@gmail.com (Pierre Joye) On Fri, Feb 6, 2015 at 9:17 PM, Fran=C3=A7ois Laupretre wrote: >> De : yohgaki@gmail.com [mailto:yohgaki@gmail.com] De la part de Yasuo Oh= gaki > >> Personally, backward compatibility is not too important. >> PHP5 is dead by PHP 7.2 release... This is the reason why. >> It's only 3 years later, only 2 years later after PHP 7.0 release. > > That's where we disagree, as I think it's most important. > > Thinking that PHP 5 is dead in 3 years is extremely na=C3=AFve IMO. You p= robably didn't live the PHP 4/5 migration but I guess we won't have more th= an 30 % of production servers under PHP 7 in 2018, just due to the delays o= f distros, hosting companies, and others. > > Now, suppose you're distributing a library or a framework, like Symfony, = Doctrine, etc. Someone tells you : "Here's the new DbC feature. You can use= it but this implies splitting your code to two independent branches and ma= intain them in parallel until you have no PHP 5 customer anymore.". What do= you think you'll do (or won't do) ? > > @Pierre,@Dmitry : you have a better vision than mine on the migration pro= cess. What's your opinion on forcing software developers to maintain two se= parate branches ? From a SemVer point of view, two branches are the worst thing we could do. The same applies to extensions btw. Cheers, --=20 Pierre @pierrejoye | http://www.libgd.org