Generic Derivation is the New Reflection in Scala 3
Using Scala 3 TypeClass derivation and Dotty Mirrors gives a unified way to drive meta-programming: encoding/decoding arbitrary products and co-products, and solving many meta-programming problems elegantly.