Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^2: Is it me?

by QM (Parson)
on Sep 15, 2005 at 18:54 UTC ( #492380=note: print w/replies, xml ) Need Help??

in reply to Re: Is it me?
in thread Is it me? there a reason to leave the use strict (or warnings) turned on?
Flip that around -- why would you turn it off? If you can't justify turning it off, then it should stay on.

Brainstorming here, possible reasons to turn strict and warnings off:

Speed: Not performing all of those compile- and run-time checks is bound to improve speed. Only benchmarking will tell if it's a real gain or not.

Confusing users with warning messages: If code spits out warning messages, it should be for a good reason, and it should be meaningful to the user. For example, if the file doesn't exist, that's something the user should understand. If the Beeblebrox is in Ratzafratza, then maybe the message should be changed to something like:

The Beeblebrox is in Ratzafratza. This should never happen. Please contact the maintainer of this script.
If your code sometimes innocuously spits out warnings that you know don't make any difference, for maintenance reasons you are better off to use no warnings around the offending statement, rather than turn off warnings everywhere.

Laziness: OK, I'm not sure how this would apply.

Hubris: Umm, I'm really not sure how this would apply.

Any others?

Quantum Mechanics: The dreams stuff is made of

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://492380]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2020-10-26 02:18 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (249 votes). Check out past polls.