Best Coding Practices - Debugging The Code and Correcting Errors

Debugging The Code and Correcting Errors

Programmers usually tend to write the complete code and then begin debugging and checking for errors. Though this approach can save time in smaller projects, bigger and complex ones tend to have too many variables and functions that need attention. Therefore, it is good to debug every module once you are done and not the entire program. This saves time in the long run so that one does not end up wasting a lot of time on figuring out what is wrong.

Read more about this topic:  Best Coding Practices

Famous quotes containing the words code, correcting and/or errors:

    Motion or change, and identity or rest, are the first and second secrets of nature: Motion and Rest. The whole code of her laws may be written on the thumbnail, or the signet of a ring.
    Ralph Waldo Emerson (1803–1882)

    I should have no objection to go over the same life from its beginning to the end: requesting only the advantage authors have, of correcting in a second edition the faults of the first.
    Benjamin Franklin (1706–1790)

    I was duped ... by the Secretary of the treasury [Alexander Hamilton], and made a fool for forwarding his schemes, not then sufficiently understood by me; and of all the errors of my political life, this has occasioned the deepest regret.
    Thomas Jefferson (1743–1826)