Typeclasses provide a great foundation for writing generic code in a clean, easy to understand and extendable manner. As applications evolve and grow over time however, maintaining the boiler plate required for constructing type class instances can become burden to maintain, sometimes leading to significant unecessary repetition within a codebase.
Magnolia is a lightweight, low barrier-to-entry library which empowers developers to scrap the aforementioned boilerplate using automatic typeclass derivation. This talk will provide an introduction to automatic typeclass derivation with Magnolia, giving a practical overview of the library with worked examples, and highlighting relevant use cases to encorporate the library in your day-to-day work.
YOU MAY ALSO LIKE:
An Introduction to Automatic Typeclass Derivation with Magnolia
Laurence Bird
Laurence Bird is a London based Software Engineer at OVO Energy. He has experience working with Scala to build RESTful microservices and enjoys experimenting with Magnolia.