Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82038 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26986 invoked from network); 6 Feb 2015 10:52:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Feb 2015 10:52:06 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.177 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.216.177 mail-qc0-f177.google.com Received: from [209.85.216.177] ([209.85.216.177:60201] helo=mail-qc0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 92/FF-45146-1DC94D45 for ; Fri, 06 Feb 2015 05:52:02 -0500 Received: by mail-qc0-f177.google.com with SMTP id p6so11043622qcv.8 for ; Fri, 06 Feb 2015 02:51:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=ju2rmIcZ3jav2DGdeCPhSTG9lmiRiuIDU/0mVLNvmeo=; b=FVC9x6n7b+zywIXJdf/ysvIjNURhvxldldL/zbX5vB9oWI4IJoto3KMPajS7+9GZo0 85PZ3qP3OujECGaxPP1i4FJ3Ofh+sPhPIJM/l4rykqgWVds70JAlO5XF1it8uRTp3oUV LjQTAfmYdhYqhpyofWMlNCKwEMd6Y75RkDy74+IjYjToti3IzSrIjv/6s53Ns5CWAWwp DzIZ4tCYsWuA4zFnDVAUtAmSIG0NuJ/8jZ6/6ZiQFwjXZBtm9dVXWhPDvEbjFp3XGeVu 7qbOC/pLHbVVm1N1qDcLvxD807jkr9FFevdk8zVz8QnUDrSfKm1QegDR8bkygxvUuM1W ySwQ== X-Received: by 10.140.21.229 with SMTP id 92mr6476926qgl.33.1423219919285; Fri, 06 Feb 2015 02:51:59 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.229.28.72 with HTTP; Fri, 6 Feb 2015 02:51:19 -0800 (PST) In-Reply-To: References: <54D37D41.2030706@hoa-project.net> <54D470FA.6000303@hoa-project.net> <02d301d041f3$0c5f3990$251dacb0$@tekwire.net> Date: Fri, 6 Feb 2015 19:51:19 +0900 X-Google-Sender-Auth: z2YBPXO0Ws3binlHCHLJWWCk7N8 Message-ID: To: =?UTF-8?Q?Fran=C3=A7ois_Laupretre?= Cc: "Ivan Enderlin @ Hoa" , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11c12f8cb9f59b050e69358e Subject: Re: [PHP-DEV] Design by Contract From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11c12f8cb9f59b050e69358e Content-Type: text/plain; charset=UTF-8 Hi Francois, On Fri, Feb 6, 2015 at 7:34 PM, Yasuo Ohgaki wrote: > I can understand motivation to write script runs in older release. > It's nice, I agree. > > 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. > Therefore, I prefer PHP syntax based one. If it could be written as > normal PHP code, it would be great. > > I prefer my proposal of course. However, I don't care much about > where it should be written. I only care we have clean/fast/native/easy > DbC support in PHP 7. > > I thought you are going to write PHP syntax borrowed one. > For most users, PHP syntax is better. IMHO. > Since Dmitry offered something based on annotation, could > you work based on PHP syntax? and show us your concept on > this thread? > I believe native DbC support in PHP 7 attracts users including many new users. And I also believe D like syntax attracts more users. I think Facebook folks will like it. I heard they liked D. http://www.drdobbs.com/mobile/facebook-adopts-d-language/240162694 What I believe is not important to you. I could be wrong. I appreciate your proposal anyway. Even if my original thought is not accepted, I'm grateful to have it. What important is sort out ideas, make a consensus! Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a11c12f8cb9f59b050e69358e--