Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by Porculus (Hermit)
on Apr 09, 2009 at 15:01 UTC ( [id://756622]=note: print w/replies, xml ) Need Help??


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

It's not so much that its presence is a measure of quality, as that its absence is a warning that the code's author may have been inexperienced in the ways of Perl. As such it's a code smell -- one of those little things that make the reader start to feel uneasy about the quality of what they're looking at.

Of course, I totally agree that it doesn't really make much sense to insist that they be included by law in all code posted here. I personally would only include them in a code snippet if I was posting something that was intended to be a complete module or script.

  • Comment on Re^2: Should code that does not use strict even be considered here?

Replies are listed 'Best First'.
Re^3: Should code that does not use strict even be considered here?
by shmem (Chancellor) on Apr 09, 2009 at 17:25 UTC
    as that its absence is a warning that the code's author may have been inexperienced in the ways of Perl.

    That may come to your mind at first glance. Read on. The code tells you about its author - use strict won't, and can't hide the stench, if any.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-25 09:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found