[wp-hackers] Why WP_Error Sucks

Andrew Nacin wp at andrewnacin.com
Tue Jul 24 16:34:44 UTC 2012


On Tue, Jul 24, 2012 at 10:58 AM, Michael D Adams <mda at blogwaffe.com> wrote:

> On Tue, Jul 24, 2012 at 5:56 AM, Ryan McCue <lists at rotorised.com> wrote:
> > I'd be interested to hear your thoughts on WP_Error and the possibility
> > of using exceptions as well. I'd also love to hear from anyone who has
> > implemented exceptions in their own plugin code.
>
> Joel Spolsky's opinion:
> http://www.joelonsoftware.com/items/2003/10/13.html (Exceptions are
> worse than GOTOs)


Ah, yes, I was looking for this link. Thanks, Mike. Anything that Otto, I,
and others didn't cover, is dealt with there.


More information about the wp-hackers mailing list