- Clean Code in C#
- Jason Alls
- 353字
- 2021-06-18 18:28:06
Code Review – Process and Importance
The primary motivation behind any code review is to improve the overall quality of the code. Code quality is very important. This almost goes without saying, especially if your code is part of a team project or is accessible to others, such as open source developers and customers through escrow agreements.
If every developer was free to code as they pleased, you would end up with the same kind of code written in so many different ways, and ultimately the code would become an unwieldy mess. That is why it is important to have a coding standards policy that outlines the company's coding practices and code review procedures that are to be followed.
When code reviews are carried out, colleagues will review the code of other colleagues. Colleagues will understand that it is only human to make mistakes. They will check the code for mistakes, coding that breaks the company's code of coding conduct, and any code that, while syntactically correct, can be improved upon to either make it more readable, more maintainable, or more performant.
Therefore, in this chapter, we will cover the following topics to understand the code review process in detail:
- Preparing code for review
- Leading a code review
- Knowing what to review
- Knowing when to send code for review
- Providing and responding to review feedback
The learning objectives for this chapter are for you to be able to do the following:
- Understand code reviews and why they are good
- Partake in code reviews
- Provide constructive criticism
- Respond positively to constructive criticism
Before we dive deep into these topics, let's understand the general code review process.
- C語言程序設計基礎與實驗指導
- Android 9 Development Cookbook(Third Edition)
- 數據結構(Python語言描述)(第2版)
- 假如C語言是我發明的:講給孩子聽的大師編程課
- TypeScript實戰指南
- 用Python實現深度學習框架
- Python完全自學教程
- 低代碼平臺開發實踐:基于React
- Learning Apache Cassandra
- Scratch3.0趣味編程動手玩:比賽訓練營
- RESTful Web Clients:基于超媒體的可復用客戶端
- Python Web自動化測試設計與實現
- Java自然語言處理(原書第2版)
- Kohana 3.0 Beginner's Guide
- 軟技能2:軟件開發者職業生涯指南