Re: Design by Contract
| From: | Yasuo Ohgaki | Date: | Tue, 03 Mar 2015 19:04:44 +0000 |
| Subject: | Re: Design by Contract | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-84261@lists.php.net to get a copy of this message | ||
Hi Dmitry,
On Mon, Mar 2, 2015 at 4:20 PM, Dmitry Stogov <dmitry@zend.com> wrote:
> It may be to late for 7.0.
>
I feel the same way. It may be better to try add it with 7.x.
> Also Alexander liked to to add another proposal, but I saw only
> pre-required one(s)
> Anyway, it's not a big problem to vote now.
> I may take care about implementation for
> https://wiki.php.net/rfc/dbc2
> (but only if it wins).
Thank you.
The proposal would not break existing code as it does not reserve new
keywords.
We may try to add later on. Assert only DbC is messy and harder to
maintain,
but it's good start.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net