I'm of two opinions on the matter. The first is that my free time and my sanity is worth far more than any job could hope to pay. If I'm being constantly overworked or in a working environment that is a major source of stress and can't come to a good resolution, I have the means and the will to do something else. My standard of living is modest, and my skills are good enough that I can get by.

The other approach is a pragmatic code-warrior approach. Though I tend to overdesign things (like a good free software hacker, I believe in too much flexibility), there's definitely a place for getting things done quickly and not adding more features than you can handle.

There are even a couple of schools of thought in computer science that encourage this approach. One is refactoring, and the other is Extreme Programming. Fred Brooks said, roughly, "Plan to throw one away. You will anyway."

Of course, if deadlines are short, you may not have time to refactor your code or throw away legacy stuff, and you'll be left with a hard-to-maintain pile of proof-of-concept.

There's nothing like going through a nasty subroutine and cutting out half of it while making it run faster or use less memory -- but there's also nothing like going in to a well-designed module, pinpointing the bug, and fixing it without having to sift through the call stack for half an hour.

If you pressed me, I would suggest that you err on the side of clean code and good discipline -- if you clean up after yourself now, you won't have to dig yourself out of it next time. And there's almost always a next time.


In reply to RE: Good, Fast, Cheap: pick the last two or get out! by chromatic
in thread Good, Fast, Cheap: pick the last two or get out! by jeffa

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.