Please log in to watch this conference skillscast.
Scala's type system allows you to enforce compile-time constraints on your programs, and to take advantage of these constraints to help reason about your code. Yet you still frequently encounter situations where extracting a value from a map is not guaranteed to succeed, or mapping across a set of cases is not guaranteed to be exhaustive. With dependent types you can make operations like these completely safe by construction, in the process eliminating entire classes of errors, and furthermore you can do this without complicating user code. Through this talk you will discover several simple and intermediate examples using dependent types, and Jon will give you a brief outline of some of the challenges involved in implementing typesafe libraries with dependent types in Scala, but the majority of the talk will be accessible to all Scala users.
YOU MAY ALSO LIKE:
- How I Rebuilt the Typelevel Ecosystem with Fury (SkillsCast recorded in March 2019)
- Lightbend Akka for Scala - Professional (in London on 11th - 12th November 2019)
- Advanced Scala with Dick Wall (in London on 9th - 11th December 2019)
- Scala eXchange London 2019 (in London on 12th - 13th December 2019)
- Scalax2gether Community Day 2019 (in London on 14th December 2019)
- Code Kata: Yilin Wei - Optics with Monocle (in London on 22nd October 2019)
- Don’t keep it to yourself - openness and honesty in the workplace (in London on 30th October 2019)
- Abstract Data Types In The Region Of Abysmal Pain, And How To Navigate Them (SkillsCast recorded in September 2019)
- The Last Frontier and Beyond (SkillsCast recorded in August 2019)
Exploiting Dependent Types for Safer, Faster Code
Jon has been having fun riding the bleeding edge of Scala for over a decade, and he's not finished yet. While he's not travelling the world attending Scala conferences, or organizing Scala World, Jon spends his time working on a variety of open-source Scala libraries, and providing professional Scala training services.