Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
Warning: Slightly OT rant, branching from this node =)

The alternative to your InsertMultipleValues() could have been a barebones sub that did only what you needed it to at the time of writing. Worse yet, it could have done so poorly.

Bad Programming.

I have the unfortunate task of working on a lot of code that uses Bad Programming, and cuts every corner possible. In the nine months I have spent with my current company, 90% of my time has been spent fixing or extending bad code.

Enters stage-left: Management
To make matters worse, when tasked with a new addition to the multitude of systems, I block out code and submit a proposal to my barely-technically-adept PHB.
"But that's not in the specs for what we need right now! There's no reason to make this a module, just tack it into the end of program XYZ. We do have to pay you for this time you spend, you know!", he'll spout.

/me sighs.

I'm left to make my successors' lives equally as miserable as mine has been.
*Shrug* ... But what do I know, I'm "just a programmer". He (project manager) has more Industry Experience.

Updates: fixed some minor end-of-the-week-tired-and-i-want-to-go-home, grammar, and tag errors. =)

In reply to Re: Good Programming is Better by count0
in thread Good Programming is Better by George_Sherston

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 scrutinizing the Monastery: (6)
    As of 2014-09-01 22:01 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My favorite cookbook is:










      Results (17 votes), past polls