Let me start out by saying that coding standards are good. As long as the serve two purposes: increasing the quality of the code, and making it easier for people to read/understand other peoples code.

Dumbing down to the lowest common denominator, however, isn't very useful in my opinion. Personally, I would refuse to work under the rules laid down. Not using strict or -w could be circumvented for a while; just develop your code with use strict; and use warnings 'all';, and just before checking in, change the use to no, but that breaks down as soon as someone else touches your code, or you have to work on someone elses code. Most of the other rules are downright absurd.

I would step to the manager and declare that apparently she has hired a big bunch of people not up to the task (programming Perl), and that I will not dumb down to their level. For me to be useful, I will have to work with peers - not morons. Depending on her reaction, I would seek work elsewhere. Be it in the same department, same company, or at some other company. I would make it clear to her she carries responsibility for hiring incompetent people, and that I don't have any qualms in venting that opinion to her boss. In fact, I'd probably state this in email, Cc-ed as far up the chain as appropriate.

The success of this of course depends on your reputation/experience, your salary (the more you get paid, the less eager they are to have you perform suboptimally) and the power of the manager.

Of course, there's always the difference between theory and practise. What will they do if you write quality code, breaking the coding standards? Fire you? On what grounds? And then don't forget that rm is an excellent debugging tool - specially if you have to debug someone elses code.

-- Abigail


In reply to Re: to perl or not to perl by Abigail
in thread to perl or not to perl by utopian

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!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            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.