Watch a conference talk from YOW! 2017 where Ken Scambler, Lead Developer at REA Group, introduces Goggles, a new Scala macro built on top of the Monocle optics library. Explore how lenses and optics, fundamental concepts in functional programming, can be made more accessible through Goggles' compiler-checked mini-language. Learn about the challenges of implementing lenses, which typically require choosing between powerful but complex abstractions or simple but limited implementations. Discover how Goggles bridges this gap by leveraging Scala's macro capabilities and flexible syntax to provide both power and usability, complete with detailed compiler error messages. Gain insights into the motivation behind lenses, their practical applications, and the technical details of Scala macro development that makes Goggles possible.
Overview
Syllabus
Lenses for the Masses – Introducing Goggles • Ken Scambler • YOW! 2017
Taught by
GOTO Conferences