Re: RFC - making the Exception class abstract

From: Date: Wed, 17 Jun 2015 23:39:31 +0000
Subject: Re: RFC - making the Exception class abstract
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-86739@lists.php.net to get a copy of this message
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=php&q=%22new+Exception%22&type=Code&utf8=% 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

Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
« previous php.internals (#86739) next »