RE: [PHP-DEV] Design by Contract

From: Date: Fri, 06 Feb 2015 19:41:49 +0000
Subject: RE: [PHP-DEV] Design by Contract
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-82063@lists.php.net to get a copy of this message
Hi Dmitri, Yes, unfortunately, PHP features not compatible with the PHP 5 interpreter will be harder to adopt for most developers, even if they are not technically BC breaks. I agree with your POV, as I now think that it shouldn't be included in the core, provided we have the needed hooks. I explain the hooks we need in the draft RFC. Can you tell me if it seems possible to you ? François > De : Dmitry Stogov [mailto:dmitry@zend.com] >I see your point, and, of course, it makes sense, but it also means that no new PHP7 features >might not be used in these >frameworks and libraries for a long time. Should we stop add new >features in major releases? >As I said, according to DbC, I'm not sure if it should be defined on language level. Doc >comments or annotations with external >tools might be good enough.

« previous php.internals (#82063) next »