Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Re: Re: Programming Mantras

by hossman (Prior)
on Jan 21, 2002 at 23:19 UTC ( [id://140464]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Programming Mantras
in thread Programming Mantras

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?)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://140464]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (2)
As of 2024-04-25 19:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found