One thing you're missing is maintenance. There's a difference between reinventing a wheel because that's what you set out to do, and doing it due to false laziness. When it's not specifically this wheel you're trying to construct, but an entire car, you should take some well tested wheel and reduce your own amount of work and maintenance (incl bugs and all that goes along).

If your goal is to build a dynamic website, then use one of the existing templating systems. If your goal is to write a templating system, then (well, duh) write your own.

Some wheels are not very round; many have flaws. Reinventing wheels is good, as long as you're doing it consciously. Obliviously fumbling around for not knowing better will just dramatically increase the amount of lead in your foot.

Makeshifts last the longest.


In reply to Reinventing wheels (was: OT: A reasonable temporary password generator?) by Aristotle
in thread A reasonable temporary password generator? by Your Mother

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.