My Common Mistakes Of Programming *doh*

a) Not thinking about what the bug is, making an assumption then altering code with a hunch. This results in more than one possibility of where the problem might lie, but also may have changed the nature of the bug.
b) READ the CODE. Not enough time sitting and analyzing the problem before making a change. Don’t listen to the head, read the code.
c) One FUNCTION, one PURPOSE. Who cares if it’s more code or it’s repeated, one ring to rule them all is no PRACTICAL.
d) Take sufficient time away from the code to gain perspective.
 

Don't be shellfish...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on TumblrEmail this to someone

9 thoughts on “My Common Mistakes Of Programming *doh*”

Leave a Reply