11 Months
Discussion Span
Last Post by ddanbe

In general? Not that I'm aware of. Learn to use your IDE for source level debugging. The big secret is to avoid making the most common mistakes up front. To learn that I suggest googling "most common programming errors" and following the links.

A few big sources of bugs:

  • not initializing variables
  • one-off (indexing) boundary errors
  • not validating inputs

Edited by Reverend Jim


Books by Niklaus Wirth and Donald Knuth are good for this. Not cheap, but worth having on hand - they all have places of honor on my book shelf.


I have read some source code from many books. Saying, yeah, that seems obvious. Until you type them in, there will allways be some small errors sneaking in. So my advice: read books and practice, practice

Votes + Comments
Like riding a bike. You can't learn to do it by reading a book.
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.