tubeshowcase●1,674,793 videos♡ My collection 0
← Learn to Code

Learn to Code24:55

Lenses for the Masses – Introducing Goggles • Ken Scambler • YOW! 2017

GOTO Conferences ↗

From the creator

This presentation was recorded at YOW! 2017. #GOTOcon #YOW https://yowcon.com Ken Scambler - Lead Developer at REA Group @kenscambler4618 RESOURCES https://bsky.app/profile/kenscambler.me https://hachyderm.io/@kenbot https://kenscambler.me https://github.com/kenbot https://x.com/KenScambler https://www.linkedin.com/in/ken-scambler-34aa4a2 ABSTRACT #Lenses, or more generally optics, are a technique that is indispensable to modern #FunctionalProgramming. However, implementations have veered between two extremes: incredible abstractive power with a steep learning curve; and limited domain-specific uses that can be picked up in minutes. Why can't we have our cake and eat it too? #Goggles is a new #Scala macro built over the powerful & popular Monocle optics library. It uses Scala's macros and scandalously flexible syntax to create a compiler-checked mini-language to concisely construct, compose and apply optics, with a gentle, familiar interface, and extravagantly informative compiler errors. In this talk I'll introduce the motivation for lenses and why usability is a problem that so badly needs solving, and how the #GogglesLibrary, with #Monocle, helps address this in an important way. There'll be some juicy discussion of Scala macro sorcery too! RECOMMENDED BOOKS Simon Brown • Software Architecture for Developers Vol. 2 • https://leanpub.com/visualising-software-architecture David Farley • Modern Software Engineering • https://amzn.to/3GI468M Dave Farley & Jez Humble • C

Published 2024-12-16 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code