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 #179078 is a reply to message #179077] Tue, 11 September 2012 13:32 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 9/11/2012 9:06 AM, Jonathan Stein wrote:
> On 11-09-2012 14:34, Jerry Stuckle wrote:
>
>>>> To not fix them is the ultimate in stupidity.
>>>
>>> Thank you for your insightful analysis. Could you also tell me which new
>>> projects, we should drop to get resources to maintain these old sites?
>>
>> Whichever ones are not as important as one that's being used.
>
> In my opinion, all our newer projects are more important, so please give
> me your opinion. You must have considered this, since you can conclude
> that "To not fix them is the ultimate in stupidity".
>

Yes, in over 40 years of programming, I've seen lots of people with your
attitude, both single programmers and groups in corporate environments.
And without exception, every one of them has crashed and burned,
eventually.

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. And then it will be a
mad rush to try to install quick fixes to get it back up and running
again. And that will just add more bugs.

>>>> If the site isn't that important, then just why not just take it down
>>>> now instead of waiting for it to crash hard?
>>>
>>> Why take something down when it works and people are using it?
>>
>> Because sooner or later you will have to upgrade or run with a no longer
>> supported version of PHP - which includes security fixes, leaving your
>> site open to all kinds of problems.
>
> But why take it down NOW?
>

To save your clients the problem of it suddenly crashing later.

>> The deprecated warnings are there for a reason
>
> - and there is a reason why you can filter out deprecation warnings as a
> separate group.
>

Which is NOT so you can ignore them!

>> To ignore them is the ultimate in stupidity.
>
> 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.

> To spend resources on an old site that is hardly used anymore would be
> more stupid in my world, but of course, if you have unlimited resources,
> you can do everything...
>
> Regards
>
> Jonathan
>

Then just take the site down and forget about it. If it isn't important
enough to fix before it breaks, then it's not important enough to keep
going.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[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: Fri Sep 20 16:36:54 GMT 2024

Total time taken to generate the page: 0.04775 seconds