RE: [PHP-DEV] Design by Contract
| From: | François Laupretre | Date: | Fri, 06 Feb 2015 09:55:31 +0000 |
| Subject: | RE: [PHP-DEV] Design by Contract | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-82034@lists.php.net to get a copy of this message | ||
Hi Yasuo,
> De : yohgaki@gmail.com [mailto:yohgaki@gmail.com] De la part de Yasuo Ohgaki
> Do you think of any negative impact on PHP if we implement D like
> in{}/out{} which allow any PHP syntax?
Can you please give your opinion about the BC break a D-like syntax would introduce ? It is
important because, if the community accepts such a BC break for PHP 7, I stop working on my proposal
based on phpdoc comments.
IMO, it is essential to offer DbC option without making the 'DbC-enabled' code unable to
run on PHP 5, but that's just my opinion.
Cheers
François