“De-Bugging” Code before Check-in
Wednesday, June 10th, 2009Subscribe To Our Feed | Follow Us On Twitter | Get Updates on Email
Even an expert programmer cannot claim of writing bug free code. Bugs are here to stay during a software development life cycle. But what every programmer needs to do is to test his code before the code goes into the main repository. So, programmers have different techniques to do this. Running Test cases, getting code reviewed, code walk through, running manual tests, ad-hoc tests are various things performed by people and Bang!!! code goes into the repository. Let’s consider the following psuedo-code:
char* someString = (char*) malloc(100); if(someString != NULL){ // do something }else{ // handle error condition }
© Safer Code | “De-Bugging” Code before Check-in
|
Liked this post? Get FREE Updates Subscribe to RSS feed |