Write it out on paper

This tip submitted by rakesh kumar on 2005-01-25 01:59:16. It has been viewed 39857 times.
Rating of 6.1 with 311 votes

Think before you code and write the entire idea or the logic of solving a particular problem on paper; doing so would prevent lots of logical errors. This technique also works when you are not able to figure out why the logic is not working.