Re: On BC and interfaces
| From: | Levi Morrison | Date: | Thu, 06 Sep 2012 14:47:51 +0000 |
| Subject: | Re: On BC and interfaces | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-62868@lists.php.net to get a copy of this message | ||
On Tue, Sep 4, 2012 at 1:15 AM, Stas Malyshev <smalyshev@sugarcrm.com> wrote:
>
> Hi!
>
> Given many discussions on the list about changing stuff in PHP, I'd like
> to bring everybody's attention to comment by Linus Torvalds in this
> topic:
> https://plus.google.com/115250422803614415116/posts/hMT5kW8LKJk
>
> It talks about Linux kernel and discussion has next to nothing to do
> with PHP, but generic point about keeping the interfaces and importance
> of not serving one use case I think very important for all widely used
> platforms equally. I think the opinion of the author of one of the most
> successful platforms in recent history may be interesting to consider.
> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
Good find, Stas. I would like to quote a portion of it:
> One of the core kernel rules has always been that we never ever
> break any external interfaces. That rule has been there since day
> one, although it's gotten much more explicit only in the last few years.
> The fact that we break internal interfaces that are not visible to userland
> is totally irrelevant, and a total red herring.
Basically we shouldn't break any interfaces that are user-facing but
we are free to change things internally as much as we want as long as the
external interface is honored.