“Lenses are a way to focus from a big data structure to a particular focus inside that data structure where you want something to happen,” explains Chris Ford, software developer and ThoughtWorker from London.
Chris gave the talk Journey Through the Looking Glass, and What I Found There at XConf Hamburg, where he explained his experience implementing a Lenses library in Clojure. I took the opportunity to interview him afterwards to better understand what this concept from the Haskell functional programming language can bring to the modern enterprise developer.
Links mentioned in the show:
- Chris’ Talk at XConf - Journey Through the Looking Glass, and What I Found There
- XConf Hamburg
- Functional Composition - Talk on music in Clojure
- traversy: Multilenses for Clojure - GitHub Repository