1. Find a problem you want to solve
  2. Implement solution A
  3. Walk away, as the problem is solved
  4. 6 months later, run into problem again, but in a different context
  5. Implement solution B, cause you're 6 months better at Perl and wince whenever you remember solution A
  6. Repeat 4 or 5 times, wincing less and less cause solution E is only marginally better than solution D
  7. Log onto PM and realize that others have solution M.
  8. Cry for a while because it's so elegant and simple
  9. Rewrite 3 years of code to use solution M
  10. Realize you didn't understand solution M at all
  11. Cry for a longer while cause you just introduced 10 new bugs and hadn't backed up your code
  12. Rewrite again, using solution F, which takes what little you understand of solution M and grafts it onto solution E
  13. Read PM again in 6 months and realize you not only do understand solution M, but found a better way!
  14. Dance around your cube for an even longer while (gotta make up for all that crying!)
  15. Post solution N and get 100 XP for being cool
  16. Delete 3.5 years of code cause it's all worthless crap that a module you just wrote with solution N does it all, and more
  17. Go on with your life.

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.


In reply to Iterative learning... by dragonchild
in thread Too Many Ways To Do It 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!
  • 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.