Overview
Explore metaprogramming techniques in Scala through this 43-minute conference talk from Scala Days Copenhagen 2017. Compare macros, shapeless, and code generation, understanding their pros, cons, and appropriate use cases. Dive into practical examples that demonstrate how to eliminate boilerplate and improve code maintainability. Gain insights on choosing the right metaprogramming approach for your projects, saving time and avoiding potential pitfalls. Suitable for intermediate Scala developers with basic knowledge of these techniques, the talk covers topics such as type classes, data validation, and provides analysis and takeaway points to enhance your Scala programming skills.
Syllabus
Introduction
What is metaprogramming
Macros
Type Classes
Shapeless Implementation
Better Code
Data Validation
Analysis
TakeHome Points
Further Reading
Questions
Taught by
Scala Days Conferences