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 #179115 is a reply to message #179102] Thu, 13 September 2012 16:53 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 9/12/2012 3:35 PM, Anders Wegge Keller wrote:
> Jerry Stuckle <jstucklex(at)attglobal(dot)net> writes:
>
>> A "regex search and replace" is a blind operation. Hand editing the
>> files is not - and is much more reliable.
>
> You are indeed a moron, sir!
>
> If you had taken the time to read the qualifier from Pointedears, you
> would have seen that the statement was only related to the recent list
> of deprecated functions. Looking over it, it seems like a very safe
> guess that yes, in this particular case a regexp can be devised, that
> will provable create the same results as the unchanged code.
>
> Just dfor the record: I routinely do similar transforamtions on C
> code in my job, and so far we have yet to see an error being
> introduced there.
>

Which is a blind search and replace - and can cause all kinds of
unexpected problems.

You're fortunate you've never had the bad luck to have it happen to you.
I've seen code break very badly after such an effort.

--
==================
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: Sun Nov 10 14:54:26 GMT 2024

Total time taken to generate the page: 0.04370 seconds