HW26: Chapter 24
Ex 24.6
Explain why program inspections are an effective technique for discovering errors in a program. What types of error are unlikely to be discovered through inspections?
Program inspections are an effective technique for discovering errors in a program because getting another person to look over your code is invaluable. After working on the same code for a while and looking at it for so long, you become so accustom to it that you are blinded in a way. Someone who has never see the code before and has fresh eyes may see problems that you have over looked. Also this person may know of techniques or code that can make you code more efficient or effective. Two minds are better than one as they say. It is always a good idea for a program inspection to make sure your code it high quality. Some errors that may be discovered are bugs or defects. Or maybe you are using a component of your code ineffectively or they can maybe show you how to do something in a better way.
Explain why program inspections are an effective technique for discovering errors in a program. What types of error are unlikely to be discovered through inspections?
Program inspections are an effective technique for discovering errors in a program because getting another person to look over your code is invaluable. After working on the same code for a while and looking at it for so long, you become so accustom to it that you are blinded in a way. Someone who has never see the code before and has fresh eyes may see problems that you have over looked. Also this person may know of techniques or code that can make you code more efficient or effective. Two minds are better than one as they say. It is always a good idea for a program inspection to make sure your code it high quality. Some errors that may be discovered are bugs or defects. Or maybe you are using a component of your code ineffectively or they can maybe show you how to do something in a better way.
Comments
Post a Comment