FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Never log deprecation warnings
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Never log deprecation warnings [message #179083 is a reply to message #179078] Tue, 11 September 2012 19:53 Go to previous messageGo to previous message
Jonathan Stein is currently offline  Jonathan Stein
Messages: 43
Registered: September 2010
Karma:
Member
On 11-09-2012 15:32, Jerry wrote:

> You are not only ignoring the errors, you are trying to hide them. In a
> year or two, you'll get to the point you have to upgrade PHP, i.e. some
> new feature that was added or because the old version isn't supported
> any more. At that point you'll have forgotten all about your
> deprecation errors and your site(s) will break.

I won't state that this could not happen for us, but I'm pretty sure
that deprecated functions won't disappear in a minor service update.
(And we wouldn't do a major version upgrade without a little more testing).

However, there are many other things that could break a "minimalistic"
maintained site, and that's a risk we have considered.

It's not so graceful, but the few users can keep the sites a little
longer. That's our trade off.

>> But why take it down NOW?
>
> To save your clients the problem of it suddenly crashing later.

The problems if the sites crash tomorrow are not bigger than if we shot
down the sites today...

>> Not to log the warnings are not the same as ignoring the problem. We
>> have weighted pros and cons and made a decision.
>
> Yes it is. Ever heard of "out of sight, out of mind"? If you don't see
> the warnings, you WILL forget about them.

If the sites live to the day where we decide to upgrade to PHP 6, I'm
sure we'll test with all our sites. If the functions disappear earlier,
the old sites might crash (and then see above).


You - finally - had some good arguments, but they are not valid in this
particular case. That's the danger of skipping the analysis and jumping
directly to the conclusion.

So next time why not start with the arguments and let the poster draw
the conclusions?

Regards

Jonathan
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how format one date
Next Topic: Problem with PHP Driver Authentication
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 09:16:59 GMT 2024

Total time taken to generate the page: 0.04499 seconds