Applying this chapter to the WWTravelClub sample project
Considering every technique presented up to here in the chapter, it is time to see how to really apply them in a project. This section will present two approaches to doing so. The first one is related to defining a coding standard for the team. The second uses a static analysis tool to improve the understandability of the code when it comes to best practices. As a software architect, you must use both, so they complement each other, leading to better code at the end.
WWTravelClub – DOs and DON’Ts in writing code
As a software architect, you must define a code standard that matches the needs of the company you are working for.
In the sample project of this book (check out more about the WWTravelClub project in Chapter 1, Understanding the Importance of Software Architecture), this is no different. The way we decided to present the standard for it is by describing a list of DOs and DON’Ts that...