Enums on Steroids: Exploring Sealed Classes in Java 17
Offered By: GeeCON Conference via YouTube
Course Description
Overview
Explore the power of sealed classes in Java 17 through this GeeCON 2023 conference talk. Dive into the concept of "enums on steroids" as Marcin Chrost demonstrates how sealed classes can create innovative and facilitating mechanisms beyond strict control of class hierarchy. Learn about problem description, request-response patterns, evaluation techniques, response class hierarchy, immutable classes, and the evolution from ugly instance checks to elegant pattern matching. Gain insights into the compile-seal-compare process and engage with thought-provoking questions that challenge your understanding of this advanced Java feature.
Syllabus
Introduction
Who am I
Problem description
Request
Response
Evaluation
Response class
Hierarchy
immutable classes
ugly instance of
pattern matching
compile
seal
comparison
Questions
Conclusion
Taught by
GeeCON Conference
Related Courses
Introduction à la programmation orientée objet (en Java)École Polytechnique Fédérale de Lausanne via Coursera Useful Genetics Part 2
The University of British Columbia via Coursera Object-Oriented Programming
Indian Institute of Technology Bombay via edX Java für Einsteiger
openHPI Computing: Art, Magic, Science - Part II
ETH Zurich via edX