Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86739 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52678 invoked from network); 17 Jun 2015 23:39:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jun 2015 23:39:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.215.10 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.215.10 mail.experimentalworks.net Received: from [217.114.215.10] ([217.114.215.10:52469] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AB/D0-46946-A3502855 for ; Wed, 17 Jun 2015 19:39:39 -0400 Received: by mail.experimentalworks.net (Postfix, from userid 1003) id 589BA4BF7F; Thu, 18 Jun 2015 01:40:21 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on km31408.keymachine.de X-Spam-Level: * X-Spam-Status: No, score=1.4 required=4.0 tests=ALL_TRUSTED, DNS_FROM_AHBL_RHSBL autolearn=no version=3.3.2 X-Spam-HAM-Report: * 2.4 DNS_FROM_AHBL_RHSBL RBL: Envelope sender listed in dnsbl.ahbl.org * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from [192.168.2.34] (ppp-93-104-12-204.dynamic.mnet-online.de [93.104.12.204]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: johannes@schlueters.de) by mail.experimentalworks.net (Postfix) with ESMTPSA id 434344BF7C; Thu, 18 Jun 2015 01:40:19 +0200 (CEST) Message-ID: <1434584371.21120.56.camel@kuechenschabe> To: Anthony Ferrara Cc: Kevin Bradwick , "internals@lists.php.net" Date: Thu, 18 Jun 2015 01:39:31 +0200 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-ia4xf32bmW0gKIRoKc1C" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Subject: Re: [PHP-DEV] RFC - making the Exception class abstract From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) --=-ia4xf32bmW0gKIRoKc1C Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2015-06-17 at 17:30 -0400, Anthony Ferrara wrote: > Changing the existing Exception class to be abstract would break a > metric ton of code. Simply on that metric alone it would be a hard > sell. I think you'd need an exceptionally strong justification for it, > beyond "using typed exceptions is better". Just to add some metric to that metric: "Showing 313,243 available code results" https://github.com/search?l=3Dphp&q=3D%22new+Exception%22&type=3DCode&utf8= =3D% E2%9C%93 many of those results are irrelevant (test cases, code snippets etc.) and unfortunately GitHb search can't group forked repos but there's still a large amount of code broken for no good enough reason (my opinion) johannes --=-ia4xf32bmW0gKIRoKc1C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAABAgAGBQJVggUzAAoJEH3sTmn8nIPXYkoIAKDRb7znC0YR+pI48jITagVy 6zjuIgliILKrpZcPgCeBIt827sopaA4zZTEqYorLEwiaKxKeMfC2oBLKOomXh0Ob uuxZ9U5XIKVf8k4Tyk0Q3YGbGypKk5511fiHCnhJXkcoG5HsqlUz16INvsYxkZPs 8gA8c5HNpA/SzyKf78jt/6a2YhnV/qUB5v8czet0V5c5vpQfa6kYgXHua1KVTxeT 6ehgy14/8Obl/bc56z1CGIbgBFgx4ahbnBKDpBvDKB5YVpu2G00UMbRY7ba2Qcv0 +kgzemhXvxxUxaG44uSBYWlgRQQ309mRCOjkvznWnV1pRFemgWFUwkCD5Fozesw= =yUNp -----END PGP SIGNATURE----- --=-ia4xf32bmW0gKIRoKc1C--