Summary
This chapter aimed to help you understand the advantages of code reuse. It also gave you an idea about what is not properly reused code. This chapter also presented approaches for reusing and refactoring code.
Considering that technology without processes does not take you anywhere, a process was presented that helps enable code reuse. This process is related to using already completed components from your library; identifying features in the software requirements specification that are candidates to be designed as library components; modifying the specification considering these features; designing the reusable components; and building the project architecture with the new component library version.
To finish, this chapter presented .NET Standard libraries as an approach to reusing code for different C # platforms, indicating that .NET 5 and new versions shall be used for reusing code in different platforms. This chapter also reinforced the principles of object...