Re: On BC and interfaces
| From: | Dmitry Stogov | Date: | Thu, 06 Sep 2012 05:54:30 +0000 |
| Subject: | Re: On BC and interfaces | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-62843@lists.php.net to get a copy of this message | ||
Hi Stas,
You know, it's not always possible to get new features or performance boosts without API change. It's one of the reason why we postpone such changes for major releases. But, I agree that even in major releases API shouldn't be changed without significant reasons, and we should keep compatibility if possible.
BTW I even think that PHP doesn't need most of recently added features. It's a monster already and we make it more complicated with each release. As these new features are needed only to few people, they are not tested enough. Then, after release, we found that something doesn't work as expected, and we have to fix design mistakes with ugly hacks. Traits is a good example.
Thanks. Dmitry.
On 09/04/2012 11:15 AM, Stas Malyshev 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.