Re: [PHP-DEV] On BC and not being evil (Was: Re: [PHP-DEV] [RFC] Integer Semantics)

[email protected] (Andrea Faulds)
Newsgroups php.internals
Message-ID <[email protected]>
On 21 Aug 2014, at 18:28, Adam Harvey <[email protected]> wrote:

> Every time we break BC — in either of the ways Derick said — we narrow
> the subset of PHP 5 and PHP 7 that's available to people writing PHP
> code that has to work on both. If we narrow it too far, it'll be too
> unexpressive, or too hard to use, or just plain won't do something
> that they'll need, and PHP 7 will risk becoming this decade's Perl 6:
> the cautionary tale for what happens when you burn all the boats.

Not all BC breaks prevent code from being both forwards- and backwards-compatible, however. In some cases, the new way to do something works correctly in old versions as well.
--
Andrea Faulds
http://ajf.me/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.