Addressing Cross-Cutting Concerns

There are two types of concerns that you need to have when writing clean code—core concerns and cross-cutting concerns. Core concerns are the reasons for the software and why it is being developed. Cross-cutting concerns are the concerns that are not part of the business requirements and that form the core concerns, but must be addressed in all areas of the code, as illustrated in the following diagram:

It is the cross-cutting concerns that we will be covering in this chapter by building a reusable class library that you can modify or extend to your liking. Cross-cutting concerns include configuration management, ...

Get Clean Code in C# 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.