Metaprogramming Patterns

Metaprogramming is writing code that manipulates other code. These patterns enable you to dynamically modify behavior and structure, often to reduce redundancy or create more flexible systems.

Wikipedia