Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
Pardon me

<rant> Yesterday there was a SoPW with a comment from the Querent that the 'use strict' was commented out "for testing".

This morning I get pulled into a code-review where I saw the following:

#! /usr/local/bin/perl ################################################# # Caused too many errors so I commented it out. ################################################# # use strict; # use warnings;

WHAT IS WITH THESE PEOPLE!???????????!!

I did not get up and immediately leave the room; I may have to maintain this Child's code, in the future. So I kept my cool. I asked, relatively mildly, "What kind of errors were you seeing with 'strict' enabled"?

The reply was, and I quote exactly: "You know, name used only once, global symbol requires package reference, things like that. It cluttered up the SYSOUT and made it hard to find the real bugs."

I stared at Him for a good fifteen seconds. Then I got up and left the room.

I just do not get it. Here are two tools that make it **hard** to make stupid coding mistakes, and people complain that the tools are too noisy. And why would strict and warnings be 'too noisy'? It's Because They Are Telling You Something About Your Code; It's Buggy!!!!

What is it with these folks? I don't understand the mind-set that thinks: 'If I turn off error checking and get a clean compile, then the code is ready to push to production'. Phaugh! Likewise Arrgh!

That was two hours ago, and I am still trying to calm down enough so that I can write a serious, reasoned letter to the Child's Keepers and explain why He is never to be allowed any where near any code base I have to support.

Thank you for your patience. I feel better now. </rant>

Update:

In the afternoon, I wandered over to my manager's cube. I explained why I had been so sour all morning. We talked for a bit, and then she said: "I've been looking at that book you brought back from the Con last week (Damian's 'Perl Best Practices'). Did you look at that first appendix? The one with the Lists of Tens? And the second appendix?? I see what you meant when you said that we don't need to write our own Perl coding standards, Dr. Conway already has."

She chatted with her boss, the VP-Engineering, some time later in the day. This morning the VP-Eng wandered by my cube and told me that he had just put in an order at Barnes&Noble for 25 copies of 'Perl Best Practices', and he whats to know if there is a Java equivalent.

----
I Go Back to Sleep, Now.

OGB


In reply to On Commenting Out 'use strict;' by Old_Gray_Bear

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others perusing the Monastery: (6)
    As of 2014-10-25 04:00 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      For retirement, I am banking on:










      Results (141 votes), past polls