But Java has pattern matching!

preview_player
Показать описание
Inspecting data is an important task in every piece code we problem. Pattern matching is a powerful solution to this problem, and one that is becoming available in more languages in the latest years. In this stream we look at the tools that Kotlin gives us to handle those tasks -- including smart casts, destructuring, and guards -- and compare the resulting Kotlin code with pattern-based code.
Рекомендации по теме
Комментарии
Автор

This video just strengthened my belief that Kotlin's pattern matching is much inferior compared to Java and Scala in its' current form :P

pawewodarczyk
Автор

Java has deconstruction patterns & nested patterns. This is very advanced expressivity.

tizusa
Автор

I really enjoyed this. It's a great idea to have the language designers discuss existing and upcoming features in more depth. I'd appreciate more videos like this one.

Inuyasha
Автор

Great format, please do more of these :)

stantoniification
visit shbcf.ru