Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23245 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26520 invoked by uid 1010); 11 May 2006 12:37:25 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 26504 invoked from network); 11 May 2006 12:37:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 May 2006 12:37:25 -0000 X-Host-Fingerprint: 217.79.190.163 r163.red.fastwebserver.de Received: from ([217.79.190.163:28290] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 65/9B-19568-50033644 for ; Thu, 11 May 2006 08:37:25 -0400 To: internals@lists.php.net,derick@php.net (Derick Rethans) Date: Thu, 11 May 2006 14:37:20 +0200 Message-ID: <20060511143720.33323294@localhost.localdomain> In-Reply-To: References: Reply-To: pierre.php@gmail.com X-Newsreader: Sylpheed-Claws 2.1.0 (GTK+ 2.8.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Posted-By: 217.79.190.163 Subject: Re: Stop Breaking Our Apps For the Sake of OO From: pierre.php@gmail.com (Pierre) On Thu, 11 May 2006 14:15:53 +0200 (CEST) derick@php.net (Derick Rethans) wrote: > Hello! > > While I welcome new developments in either procedural or OO > interfaces in PHP I do not agree with breaking BC (between 5.1 and > 5.2 in this case) just for the sake of OO purity. In this example > there is the following class: I forgot to mention how vicious such changes can be. Most of times the related tests are "updated" in the same commit (or right after) to follow the new behavior. Making nearly impossible to know about the breakages without duplicating core tests in our apps. Also commit messages or changelog entries are rarely explicit enough to mention them. -- Pierre