Brewing Patterns in Java - An Informal Primer

Subscribers:
24,000
Published on ● Video Link: https://www.youtube.com/watch?v=49lGTOzNXGo



Duration: 24:36
93 views
2


Presented by Manoj N Palat (IBM) at EclipseCon 2022.

Not so long ago, Java lovers were engulfed by a mammoth change— the Lambda Expressions in Java 1.8! However, eclipsed by lambda, minor in its avatar, was an introduction of a new error message - “should not be used as an identifier,...; a prudent observer would know that we are discussing about _, an underscore, which was being removed as a legal identifier, quietly - And it was being promoted to being an integral part of the next wave — Patterns in Java! This talk is all about this major paradigm shift of Pattern Matching that's happening in Java Language now!

Patterns are going to be the standard way of programming in Java. This talk will explore how the patterns are being brewed – its ingredients or rather the building blocks – major and not-so-major constructs that help to build this pattern story. And also how each of these structures contribute to the big picture of patterns. Talk may not be restricted just to current pattern features of Records, Sealed Types, or Switch patterns but would cover the possible use of Record patterns, Array patterns and the usage of the same in the near future.

Some of these features do exist in other languages as well and the talk might have occasional references to those constructs for comparison purposes to put these features in perspective - no pre-requisite about other languages assumed and references as such if any, will be explained. [This talk is not expected to cover non-pattern related features of latest Java since there will be talks that cover them in-detail – however, in the absence of no such other talks and if sufficient interest is there, will touch upon those features for completeness from a Java release perspective]

Familiarity with Java programming is the only pre-requisite for the attendees.

After attending the talk, an attendees would be able to:

understand the latest pattern related features in Java and would know how to use them and when.
get know what state each of these features are in and take a decision whether to use them in production code.
see these features in the perspective of the whole pattern-story rather than isolated/standalone Java features.
Let us Brew Some Patterns in Java!