Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the implementation of a macro in this 35-minute conference talk from Scala Days. Walk through the metaprogramming API and learn how to use it effectively. Dive into inline macros, discover how to use quotes for constructing and pattern-matching expressions, and leverage reflection to enhance macro expressiveness. Examine code examples featuring string interpolator macros for constructing and deconstructing JSON object representations. Understand how the macro utilizes the Selectable trait in combination with refinement types to encode object schemas. Gain valuable insights into advanced Scala programming techniques and expand your metaprogramming skills.