[wp-hackers] Why WP_Error Sucks
otto at ottodestruct.com
Tue Jul 24 13:11:12 UTC 2012
Exceptions and try/catch don't parse in PHP 4 environments, leading to
fatal parsing errors.
On Tue, Jul 24, 2012 at 7:56 AM, Ryan McCue <lists at rotorised.com> wrote:
> Hi hackers!
> I just posted a blog post regarding WP_Error, and why it (quite frankly)
> sucks: http://journal.ryanmccue.info/165/why-wp_error-sucks/
> 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.
> (Bonus points if you're a core developer, especially if you're westi ;) ).
> Ryan McCue
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers