Advanced FP for the Enterprise Bee: Optics

Sunlight shining through honey


This is the sixth article in our exploration of Advanced FP with Kotlin and Arrow. This time we will be exploring the fascinating topic of Optics.

Optics requires a more complex example. So, instead of a made up case study, I’ve taken a real one from my day job as a trainer / coach at Instil. It will take longer to explain than a toy problem…




Experts on various Google products talking tech.

Recommended from Medium

Top 10 Headless CMS. Market-leading Headless CMS Comparison

Fixing ‘The Installation Failed’ VirtualBox Error on Mac High Sierra

A Guide to Better Dev Time Estimates

Creating Highly Available Nodes on ICON — Stage 1: Active/Passive Failover with Pacemaker and…

How we build a clone of website*u7sdLYxhk7movE0hF9LoAQ.gif

Troubleshooting Azure Disk Performance

Docker 101 — A beginners guide towards Docker


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Garth Gilmour

Garth Gilmour

Helping developers develop software better. Coding for 30 years, teaching for 20. Google Developer Expert. Trainer at Instil. Also martial arts and philosophy.

More from Medium

Make Threaded HTTP Requests in Kotlin

Contextual Polymorphism with Operator Overloading (in Kotlin & Scala)

Typesafe IDs with Kotlin and Spring

Domain Model Validation In Kotlin: Part 1