Become an AI & ML Engineer with Cal Poly EPaCE — IBM-Certified Training
Google, IBM & Microsoft Certificates — All in One Plan
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Explore data-oriented programming in Java through a comprehensive 32-minute video presentation by Oracle's Gavin Bierman. Dive into the latest Java features, including records, sealed classes, and pattern matching, and learn how they work together to enable a new programming style well-suited for modern cloud applications. Discover the evolution of Java's Project Amber and its impact on object-oriented programming. Gain insights into new tools like record classes and sealed classes, and understand their practical applications. Examine pattern matching techniques in instanceof and switch statements, and learn how to effectively use these features over sealed hierarchies. Investigate record patterns and their role in consuming and processing data types. Explore JSON value handling and searching techniques within the context of data-oriented programming. By the end of this talk, acquire a solid understanding of how these new Java features can be leveraged to write more efficient and maintainable code for cloud-based applications.
Syllabus
Intro
Project Amber
What is Object-oriented Programming?
Boundaries
Trend: small program units
New Emphasis
New Tools: Record Classes
New tools: Sealed classes
Test and extract
Pattern Matching in instanceof
Pattern matching in switch
Pattern matching over sealed hierarchies in switch
Record Patterns
Consuming the Future Type
Rethinking The Future Type
Processing a Better Return Type
JSON Values
JSON: Searching for Values
Recap: Data-oriented programming
Taught by
Java