Always two there are, a master and an apprentice. -yoda
Sunday, October 17, 2010
[DSA] Common Mistakes in Programming
There are few categories of mistakes/error/bug in programming. Suchs as logic erros, syntax errors, core dumpz (run time error)/
I came across many many types of mistakes in programming that student commit. These mitakes fall majorly into the syntax error which is the easiest to troubleshoot. As compared to logic errors, there are formal mathematical way to prove that the logic and the premise it holds.
As the old programming guru’s mantra: “It takes more pairs of eyes to spot the bug”
Below is NAF (Need A Fix) buggy code that I have created (50lines only....easy). Your "TASK" is to "SOLVE IT", "FIX IT", PLS DO NOT EAT IT!!!
PLS POST/SHARE your answers here, add in as comments.