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:
- Lightbend Akka for Scala - Expert (in London on 26th - 27th November 2018)
- Lightbend Scala Language - Professional (in London on 11th - 12th December 2018)
- Scala eXchange London 2018 - Europe's Largest Annual Scala Conference (in London on 13th - 14th December 2018)
- Lightbend Scala Language - Expert (in London on 13th - 15th March 2019)
An Introduction to Automatic Typeclass Derivation with Magnolia
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.