Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: Should code that does not use strict even be considered here?

by Eimi Metamorphoumai (Deacon)
on Apr 09, 2009 at 15:04 UTC ( [id://756624]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Should code that does not use strict even be considered here?
in thread Should code that does not use strict even be considered here?

If I ask directions from someone, and get the right answer, and I'm not wearing a seatbelt, I don't mind being told also "By the way, the cops around here are really strict about seatbelts; you might want to buckle up before you get a ticket".

Similarly, if I see code that declares all of its variables, I probably won't mention anything. But if it's obvious that adding "strict" reveals undeclared variables or other problems, it seems worthwhile to point it out, particularly if the user seems new or not particularly knowledgeable. If they know they can ignore it; otherwise, they'll learn eventually, and probably the hard way.

And thanks, I'd forgotten to check the weather before I left, and it is a bit chilly.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2024-03-28 23:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found