I've noticed no one's hit your question square on (at least in my opinion), so I'll try.

No matter how "good" or experienced you get you'll always make silly little mistakes. Punctuation problems are probably going to end up as a large percentage of the problems you'll "create" over the course of your programming lifetime. There are tools that will help minimize them, such as the colorized editors etc. But they will still happen.

As most everyone else has said, small chunks, lots of on going testing are better. It will generally be more efficient. I remember times in my past, after writing lots of code without testing, just to spend the next two days debugging all that. No, it's much more efficient to test a little bit, than it is to have to debug for a LONG time.

On the other hand, if you're not very experienced, then you will likely have more logic problems to deal with. You will get better at being able to "run the code through your head" to discover logic problems before seeing the output is not doing what you'd expected or wanted. It will just take time, and "methodology" is really not going to help speed this up very much. But, logic problems still reinforce the write a small bit and test methodology. Obviously writing a lot of problem logic code will take longer to sort out than short bits, so, it still follows that you want to write short amounts and test them often.

Hopefully I've gotten to the heart of your questions,

-Scott


In reply to Re: Programming strategy with no on-going testing by 5mi11er
in thread Programming strategy with no on-going testing by punkish

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.