Finance Certifications Goldman Sachs & Amazon Teams Trust
AI, Data Science & Cloud Certificates from Google, IBM & Meta
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Dive into an interactive live coding session from Scala Days Copenhagen 2017 where Pathikrit Bhowmick demonstrates the power of Scala Meta to create a code generator for REST APIs. Explore the world of Scala macros, learning how to leverage them for both practical applications and enjoyment. Follow along as the session covers topics such as Scala Meta basics, macro systems, QuasiCores, and their practical implementation. Witness the step-by-step process of building an SBT project, working with annotations, companion objects, and overcoming compilation errors. Gain insights into creating case classes, handling parameters and modifiers, and integrating models into companion objects. By the end of this 52-minute session, acquire the knowledge and confidence to experiment with macros in your own Scala projects.
Syllabus
Intro
Scala Meta
Scala Macros
Promise Code
Expectations
Macros
Macro System
Macros Everywhere
QuasiCores
Using QuasiCores
Resources
Documentation
Problem
SBT Project
Annotations
Companion object
Compliation error
Creating the case class
Parameters
Modifiers
Inserting Models into Companion Objects
Type
Test pass
Data access layer
Update model
Plug
Question
Taught by
Scala Days Conferences