This thread reminds me of some of the arguments about the implications of DoTheSimplestThingThatCouldPossiblyWork in XP (that's Extreme Programming this time... XP must win the award for most overused abbreviation...).

I tend to think that:

we'd better plan for the future by building solider solutions than are asked for

is really a separate issue from

leveraging tested, off-the-shelf code where possible to save effort.

The latter is nearly always a good thing as far as I am concerned.

The former can get you into trouble.

You waste time building a complex solid solution that you then have to throw away when the requirements change.

If you'd built a small problem-specific solution you would still have had to throw it away - but have wasted less time in producing it. Since the small solution would have taken less implementation time it would also have helped identify the fact that the requirements needed changing sooner - a good thing.

The only time this falls down is if your in a development environment that doesn't give you the freedom to go back and refactor that problem-specific solution into something more generic if/when it becomes necessary.


In reply to Re: Simplicity vs. Doing It Right by adrianh
in thread Simplicity vs. Doing It Right by dws

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.