Time to Ditch the Boilerplate: Safe, Fast and Easy Data Manipulation with Statically Typed Optics

25/02/2021 32 min Temporada 1 Episodio 3
Time to Ditch the Boilerplate: Safe, Fast and Easy Data Manipulation with Statically Typed Optics

Listen "Time to Ditch the Boilerplate: Safe, Fast and Easy Data Manipulation with Statically Typed Optics"

Episode Synopsis

Still writing bespoke functions and boilerplate to immutably manipulate a complex data structures? Statically typed optics will both do the heavy lifting for you, AND give your TypeScript hustle an unforeseen boost.GuestPetri Lehtinen started programming with Basic in the mid-90s. Open source projects and functional programming in typed programming languages are close to his heart.HostEsko Lahti is an engineer who saw the light after first encountering the partial.lenses optics library in 2017. Episode linksoptics-ts: https://github.com/akheron/optics-tsMonocle: https://www.optics.dev/MonocleMonocle-ts: https://github.com/gcanti/monocle-tspartial.lenses: https://github.com/calmm-js/partial.lensescalmm.js: https://github.com/calmm-jsProfunctor optics: http://www.cs.ox.ac.uk/people/jeremy.gibbons/publications/poptics.pdfA comprehensive study about different optic types: http://oleg.fi/gists/posts/2017-04-18-glassery.htmlAbout ReaktorFork Pull Merge Push is a podcast by Reaktor, a strategy, design and technology company changing how the world works. Reaktor has offices in New York, Amsterdam, Stockholm, Tokyo, Helsinki, Turku and Tampere.Reaktor is always on the lookout for bright software developers to work in health, security, emerging technologies, and much more. See www.reaktor.com/careers.@ReaktorNow#FPMPod