Reviewing feature code

Code reviews can be initiated while the feature is being developed and a request has been opened to merge it. As we've already seen, in GitHub, code can be reviewed while it's in the pull request stage.

A code review is basically a shaped discussion about the code and the new feature; that is, we're checking the code before it is introduced to the main branch. This presents us with the opportunity to improve the feature while it is in development, and before it becomes a component of the system.

Here, a member of the team may read the code that hasn't been merged and give the author some feedback. This can go back and forth until the reviewer thinks that the code is ready to be merged and approves it. In essence, someone ...

Get Hands-On Docker for Microservices with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.