Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: On Commenting Out 'use strict;'

by bofh_of_oz (Hermit)
on Aug 11, 2005 at 12:41 UTC ( [id://482931] : note . print w/replies, xml ) Need Help??

in reply to Re: On Commenting Out 'use strict;'
in thread On Commenting Out 'use strict;'

I would tend to disagree. I am pretty much "picking up" Perl as I go along, and I never took any Perl classes or finished reading a Perl book (yes, I started reading it, but never finished. However, I've been coding in different languages for last 15 years, and hope I understand the value of commenting/testing my code. So, when I was learning Perl, and I just found out about "use strict", I have this option in every one of my scripts - especially in production (even though someone here in PM told me I don't need it in production as the bugs were fixed in dev/testing phase).

In my opinion, it is the people who don't care about the result of their work or just can't think logically would comment out "use strict".

And I agree with you that such people should be educated. I usually say to them "If I place a high-voltage transformer box here, all warning labels from it, and make you maintain it - would you do it, and how comfortable would you feel?". There's nothing like real-life examples...

An idea is not responsible for the people who believe in it...

Replies are listed 'Best First'.
Re^3: On Commenting Out 'use strict;'
by steelrose (Scribe) on Aug 11, 2005 at 15:49 UTC
    I would only point out that you are an exception to the rule, in my experience that is.

    If you give a man a fish he will eat for a day.
    If you teach a man to fish he will buy an ugly hat.
    If you talk about fish to a starving man, you're a consultant.