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

comment on

( [id://3333] : superdoc . print w/replies, xml ) Need Help??
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...

In reply to Re^2: On Commenting Out 'use strict;' by bofh_of_oz
in thread On Commenting Out 'use strict;' by Old_Gray_Bear

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.