Part 1. Demystifying metaprogramming
What is metaprogramming? What does it look like? What does it mean to use metaprogramming? Part 1 (chapters 1 and 2) gives you a tour of the foundations of metaprogramming.
In chapter 1 you’ll see simple, clear examples that explain what metaprogramming is and why it’s beneficial to understand what it’s about.
Chapter 2 covers the need for reflection and its practical uses. Numerous uses of metaprogramming via the Reflection API will be presented throughout the chapter.