Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the fundamental concepts of pattern matching in Java through this 50-minute conference talk that examines how Project Amber has enhanced language safety and expressiveness. Delve into the core principles of exhaustiveness, unconditionality, applicability, and remainder while understanding the critical distinction between exact and inexact conversions introduced by JEP 507. Learn how upcoming changes will lift restrictions on primitive types in instanceof and switch statements, positioning pattern matching as the foundation for safe cast conversions across all Java types. Discover what these developments mean for language safety guarantees and runtime condition testing through practical code comparisons and visual explanations. Gain insights into how these pattern matching concepts drive safer code development and enable innovative language features currently on the horizon for Java.
Syllabus
Pattern Matching, Under the Microscope by Angelos Bimpoudis
Taught by
Devoxx