Connect with us

Media

Intersection Types in Kotlin

Let’s take a look at Kotlin’s support for non-denotable intersection types, and how we can even pass them to functions with compile-time type checking!

Content:

  • 00:00 State of Intersection Types in Kotlin
  • 00:45 Introduction to Intersection Types
  • 01:30 Example Code Walkthrough
  • 02:30 Runtime Type Check Approach
  • 05:30 Compile-Time Type Check Approach
  • 07:05 Alternatives and Trade-Offs

Advertisement

Trending