Which of us hasn't at one time or another rushed by a schedule or deadline let slip a programming peccadillo. I know I have, the boss needs this right now, or I have to get this code checked in so John can use it for his part.
I think the key is to find a way to exorcise the "Bad Programmer Demon" in all of us. Recently I've found that a daily "refactor" works for me. In my current position I have 2 projects that while I am not the only developer I have the majority ownership/responsibility for, each day I look for one thing that could be improved, commented or removed. So far the results have been encouraging. Fewer bugs are slipping though to testing and overall the products "feel" more robust. Additionally I've noticed that the prospect of having to return to the code for a future refactor motivates me to do it right the first time.
Just my $0.02
No comments:
Post a Comment