Re: [RFC] Design by Contract - Vote only RFC
| From: | Stanislav Malyshev | Date: | Sun, 01 Mar 2015 03:32:52 +0000 |
| Subject: | Re: [RFC] Design by Contract - Vote only RFC | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-84091@lists.php.net to get a copy of this message | ||
Hi!
> Hi all,
>
> https://wiki.php.net/rfc/introduce_design_by_contract
>
> This is vote only RFC for 2 competing Design by Contract(DbC) RFCs.
> Please comment if you have any for this RFC.
I don't see why the first one needs any vote. It is supposed to be
implemented as an extension, so why not go and implement an extension,
and put it in PECL, and then propose it for core inclusion, if it proves
popular?
As for the second one, do we really need the syntax change that would
just move asserts to before { instead of after? If we already have
zero-cost asserts, why just not use them?
--
Stas Malyshev
smalyshev@gmail.com