In natural language (eg., English), the more complex and useful the idea you are trying to express, the more it behooves you to plan the structure of your writing ahead of time. Simple conversation -- meant to be used once to accomplish a singular purpose and then thrown away -- can't be designed. It's counter-productive. However, when drafting the constitution of a new country, it is imperative that you plan ahead in order to forge a document that will thrive and live beyond you, be maintainable, encourage improvement, but still contain the values with which it was forged. The same valuation applys to Perl, as I suspect it does to any language, machine or otherwise.

Of course Perl is a good tool for one-off quick tools; its "whipupitude," to quote Larry Wall, is par none. You can get away with this because one-off tools don't require maintenance or improvement. If they do, you'll quickly find that you are spending more time maintaining your tools than accomplishing anything useful with them, especially if they grow at all.

Perhaps, then, one of the most important skills to have as a coder is the ability to distinguish between things you will have to maintain, and those you won't. If you can conceive of the possibility that you might have to reuse your code, you'll always reap the rewards of a good design.


In reply to RE: Good, Fast, Cheap: pick the last two or get out! by Perlmage
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.