I wasn't making any comments about overall bug fixing methodologies, or trying to advocate a particular development lifecycle approach, my point was specificly addressing this issue of fixing compile time bugs/errors/warnings.

If you try to fix to many at once, you run the risk of not realizing a later bug is caused by a former bug, and spend excessive ammounts of time debugging lines of code that have nothing wrong with them (thanx to your orriginal fix) In my opinion, unless you can tell from the error msg exactly what the problem is, it's not even worth the time/energy of jumping to the line# of the next error to see if it might be a differnet problem. That 0.5 second can be better spent recompiling, and thinking about important things, like what grass smells like

The worst situations I've ever seen are people who forgot that in fixing their first error, they may have added/removed a line from the code, invalidating the line number the compiler gave them for the rest of their errors.
(You could argue that you people can keep in mind when you make a change that affects line numbering -- but why should they have to?)


In reply to Re: Re: Re: Re: Programming Mantras by hossman
in thread Programming Mantras 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.