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: signature.asc
Description: This is a digitally signed message part

Reply via email to