HW26:Chapter 24

24.6. Explain why program inspections are an effective technique for discovering errors in a program. what types of errors are unlikely to be discovered through inspections?

Program inspections are essentially peer reviews of code that take place during development. Teams collaborate and walk through code line-by-line in search of bugs, exceptions, erroneous conditions, in house compliance issues, as well as things the team deems worthy to discuss. They are considered good practice because they bring together a diverse set of engineers to review the code and it can also help create a company culture that understands the importance of acknowledging errors and moving forward to improving.

Sommerville states that during program inspections, there is broad use of checklists to help guide the process. These checklists are typically language-based and cover a wide range of common errors found in the past. This could lead to a reliance on such lists and overlook some more technical issue that is present in the code. It's also feasible that the current climate at the company does not promote a blame-free mentality when it comes to finding and fixing errors during the peer review process. This could lead to an environment where certain developers are above reproach and their peers purposefully or otherwise overlook their faults to avoid conflict. Finally, if the company does not include developers from a diverse background, e.g. they all graduated from the same school around the same time, this may create knowledge gaps within the team that would otherwise be caught by a more diverse team.



Comments

Popular posts from this blog

HW10: Chapter 5

HW11: Chapter 6