Archive for the Debugging Category

No matter what other people say, commenting source code is an art form. It takes finesse (and sometimes an English degree :P) to properly comment your code. Some people are under the mindset “if its code, it has to be commented with long detailed comments” while others take the total opposite and barely comment a single line, and when they do they just explain the obvious. Which mindset is best? Neither!
(more…)

Anyone who has worked on a program that was larger than “Hello World” has at one point or another ran into a bug in their code. You can plan out your code, meticulously write it out, read over it again and again and in the end when you run it, you’ll inevitably find something that is wrong with it. The problem may be a syntax error, maybe you spelled a variable wrong or called a function with the incorrect parameters, or it could be a semantics error; you compared a variable to 1 instead of 0. Whatever the problem is you’re bound to run into them from time to time. If you read on I’ll tell you five tips to improve your debugging techniques.
(more…)