Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93062 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79956 invoked from network); 4 May 2016 07:24:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 May 2016 07:24:13 -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.192.41 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.192.41 mail-qg0-f41.google.com Received: from [209.85.192.41] ([209.85.192.41:36380] helo=mail-qg0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C8/80-08540-C93A9275 for ; Wed, 04 May 2016 03:24:12 -0400 Received: by mail-qg0-f41.google.com with SMTP id w36so19019128qge.3 for ; Wed, 04 May 2016 00:24:12 -0700 (PDT) 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; bh=j5slprgLJP3VUSOvtOkLGIW7i1jYz7H967bJVtFoZ4o=; b=lcMF2Ee9rMvRWqJLAID7srFyiOUueuzNT7Jpas85Z+g4xfsxm2iNeVw/G1sNoI2GO/ jnpUwVKxpbGzIFb1u8Gl7kWCjHp91WIsBIegqbv4v1PnCyonkmBfreK8t5hX+mLc3vnb xrN+5wWroXo7znfCgFkcTbGu/Wt2xq88TtCZqU4PjVB1ybCYLRSECQ4rQOkXCTBET85B OZzJ3addGAN/Gn7RvxH7gZaA0xcNINGTsrwTTwohzjNfylFaWal3q+Kidht/roTHYPlI Yit1hhPEn2ck1oeZZ+N0WbiT+1frbubH56jI8b6WH36TYFTp9BEv68UVWcPgCd4UqLL9 ll5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=j5slprgLJP3VUSOvtOkLGIW7i1jYz7H967bJVtFoZ4o=; b=kiEG8wp5vBIZla4pX26YiDTCdqK1Kl3UQIuBCRZXFTGOag19Ba7fKnPpy4sfRRhJuu H/mK49HxgXBnRhkCLtUaEw2W1nRP5e/Z/MmX3AD6ya0RauUf+0ZuMW7DeH/39pw+/cZK amIFAb4XKg9GdqRJ++YNuE2EWD4pM1A0auWAZAVTwgsf4fzyMnpCzs26E7vuIkgX6Xpn cqyryqIipWi6S33S4b+U74nZMAu7ICvUswtz/CNLbqXruz4ibDVnjKU3lzo+99sUa7HH F/SnNHCNyMM4815bk/yhSwyNH4ohu38nqtg4QxL7fS8WHyvJjwfUy4hIgOtd2r2NxmCG atsw== X-Gm-Message-State: AOPr4FUL6GHtlSY7ZXqc1d5BA0FPIrTKiQpJjH9NrBHFv1glSqBDipRe2Z8dsp7cPtkAtxbcH1JR3itCcTAX4A== X-Received: by 10.141.3.66 with SMTP id f63mr7145751qhd.55.1462346649829; Wed, 04 May 2016 00:24:09 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.140.27.133 with HTTP; Wed, 4 May 2016 00:23:29 -0700 (PDT) In-Reply-To: <572267BA.6000701@fleshgrinder.com> References: <571BA0F0.2030400@fleshgrinder.com> <571C82A7.2060706@fleshgrinder.com> <571CB44C.1000704@fleshgrinder.com> <571CBD1E.7020103@fleshgrinder.com> <571DD2A3.2020106@zend.com> <571DEC9E.80407@zend.com> <572267BA.6000701@fleshgrinder.com> Date: Wed, 4 May 2016 16:23:29 +0900 X-Google-Sender-Auth: zlZ3fPky0iHrMSYzYqxh3Zre-Ho Message-ID: To: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: Fwd: [PHP-DEV] [RFC] PHP Attributes From: yohgaki@ohgaki.net (Yasuo Ohgaki) Hi Fleshgrinder On Fri, Apr 29, 2016 at 4:42 AM, Fleshgrinder wrote: > Is there a reason why you think that Design by Contract (DbC) should be > implemented via annotations/attributes? It's not complement of DbC, although it could be used. Basic DbC idea is "Do validations always and fully during development but disable almost all validations for production". There are separated RFC for DbC https://wiki.php.net/rfc/introduce_design_by_contract https://wiki.php.net/rfc/dbc https://wiki.php.net/rfc/dbc2 I like you version of syntax, but above syntax is the result of DbC discussion so far. I would like to reactivate DbC discussion soon... Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net