In a new post today Jani Hartikainen has pointed out a few errors that developers commonly make when writing and debugging their code.
Back in august, I introduced the error tracking challenge. While it didnâ€™t get as much participation as I had hoped for, I did manage to collect some results. In this post, Iâ€™ll go through the most common ones, and suggest some approaches to avoiding them. Suggest your own errors and tips in the comments!
He's included issues in three major categories - boolean logic errors, typos/omissions and some common debugging mistakes. Inside each are some suggestions to help them make a less frequent appearance in your code: things like splitting up conditionals for readbility/ease of maintenance and being generally more careful in your development to reduce logic and small errors that could be picked up by the simplest syntax check.