[wp-hackers] Why WP_Error Sucks

Ferenc Gergely Szilagyi kelytharun at gmail.com
Tue Jul 24 15:14:05 UTC 2012


Requiring PHP5 to run doesn't means that you also must use all PHP5
features, just because they are there.

On Tue, Jul 24, 2012 at 5:12 PM, Amy Hendrix <sabreuse at gmail.com> wrote:
> Not likely to happen while 72% of the installed base is on 5.2
>
> On Tue, Jul 24, 2012 at 11:10 AM, Almog Baku <almog.baku at gmail.com> wrote:
>> According to the official requirements wordpress require php5.2.4(if
>> you ask me it really great time to upgrade this require to 5.3/5.4 for
>> the new release of wordpress ver. 3.6).
>>
>> So- By this argument.. I totally agree. I think exceptions will be much better.
>>
>>
>> On Tue, Jul 24, 2012 at 5:58 PM, 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)
>>> _______________________________________________
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.com
>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list