KotlinConf 2018 - Sealed Classes Opened My Mind: How We Use Kotlin to Tame State at Etsy by Patrick
Recording brought to you by American Express https://americanexpress.io/kotlin-jobs
The talk explores using sealed classes to represent state via an event stream and how we can take filtered views of it while still maintaining the exhaustiveness of when. The talk would follow the concepts outlined in my post here: https://codeascraft.com/2018/04/12/sealed-classes-opened-my-mind/
Additionally it would explore how to use RxJava to emit these events and how to use when and filterIsInstance to react to them.
There is a section on how Java's instanceof was often considered a poor practice and the (sometimes painful) indirection of polymorphic solutions like the visitor pattern. And finally how Kotlin makes all that pain go away.
About Patrick Cousins:
Been programming for nearly 20 years and I still love rediscovering that passion for new patterns and languages. Fan of corny jokes and seal puns.
Видео KotlinConf 2018 - Sealed Classes Opened My Mind: How We Use Kotlin to Tame State at Etsy by Patrick канала JetBrainsTV
The talk explores using sealed classes to represent state via an event stream and how we can take filtered views of it while still maintaining the exhaustiveness of when. The talk would follow the concepts outlined in my post here: https://codeascraft.com/2018/04/12/sealed-classes-opened-my-mind/
Additionally it would explore how to use RxJava to emit these events and how to use when and filterIsInstance to react to them.
There is a section on how Java's instanceof was often considered a poor practice and the (sometimes painful) indirection of polymorphic solutions like the visitor pattern. And finally how Kotlin makes all that pain go away.
About Patrick Cousins:
Been programming for nearly 20 years and I still love rediscovering that passion for new patterns and languages. Fan of corny jokes and seal puns.
Видео KotlinConf 2018 - Sealed Classes Opened My Mind: How We Use Kotlin to Tame State at Etsy by Patrick канала JetBrainsTV
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
KotlinConf 2018 - Exploring Coroutines in Kotlin by Venkat SubramaniamKotlinConf 2018 - Representing State: the Kotlin Edition by Christina LeeKotlinConf 2018 - Datomic: The Most Innovative DB You've Never Heard Of by August LilleaasKotlin Sealed Classes & Custom State Managment (VLog)Sealed classes - Kotlin VocabularyKotlinConf 2018 - Next Level DSLs by Aaron SarazanKotlinConf 2019: What's New in Java 19: The end of Kotlin? by Jake WhartonKotlinConf 2019: Ktor for Mobile Developers: Fear the server no more! by Dan KimKotlinConf 2019: Error Handling Strategies for Kotlin Programs by Nat Pryce & Duncan McGregorKotlinConf 2018 - Best Practices for Unit Testing in Kotlin by Philipp HauerKotlinConf 2019: Asynchronous Data Streams with Kotlin Flow by Roman ElizarovKotlinConf 2018 - Creating Internal DSLs in Kotlin by Venkat SubramaniamKotlinConf 2019: Testing: Testing by Christina LeeSealed Classes in KotlinKotlinConf 2018 - Kotlin Puzzlers, vol 2 by Anton KeksKotlinConf 2018 - Building Server Backends with Ktor by Ryan HarterKotlinConf 2018 - Functional Programming in Kotlin with Λrrow by Raúl Raja MartínezSpring Boot WebFlux | Project setup & understanding Mono & Flux Internal Workflow | JavaTechieKotlinConf 2019: The Compose Runtime, Demystified by Leland Richardson