Technical requirements
The source code specific to the chapter can be found on GitHub (https://github.com/PacktPublishing/Metaprogramming-in-C-Sharp/tree/main/Chapter11) and it builds on the Fundamentals code, which can be found at https://github.com/PacktPublishing/Metaprogramming-in-C-Sharp/tree/main/Fundamentals.
The goal of the open-closed principle
In a world with ever-changing and growing requirements, newly discovered business opportunities, or even pivots for your business, it’s not very helpful if your software has to go through triple-bypass surgery for changes to be made. At the heart of an agile mindset sits the ability to be nimble and react to change in a timely fashion. From a business perspective, this is a type of elasticity that is very useful. The goal is to be cost-effective when changes come in. In projects or product developments that I’ve been part of, I’ve often noticed that this translates into an ad hoc mindset, and often a total...