I'm going to answer the more generic question, not the one you specifically asked.
  1. Gather up all your requirements and organize them. Sift through them and try and make them less "organic" and more "holistic".
  2. Once you've got that done, then build a design from those requirements. (Note that you might end up with a design radically from your current implementation. This is ok, but something to note.)
  3. Make note of those things that differ between your design and your current implementation. Those are now RFC's.
  4. As you complete changes in a section, make sure to update the use-case (or design) associated with that section.
  5. Last, but not least, write self-documenting, strongly-cohesive, loosely-coupled code. You should want to refer to the code if you want to find out what the code does. Refer to the documentation if you want to find out what problems the code is intended to solve.

------
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 Re: Algorithm, Flowchart and Refactoring by dragonchild
in thread Algorithm, Flowchart and Refactoring by artist

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.