No video

Pattern Matching in Java by Venkat Subramaniam

  Рет қаралды 546

Developer Summit

Developer Summit

3 ай бұрын

We all have written our share of mundane, repetetive if-else statements that becomes hard to read, understand, and maintain. Looking at such code can take away motivation from the most enthusiastic programmers. But, you may wonder, we've had switch in Java. Sadly, the switch statement is error prone and verbose. We don't have to endure that pain anymore. The switch has evolved into an amazingly concise, elegant, and fluent expression to provide support for pattern matching. In this presentation we wil start with the problem with if-else and switch statement and walk all the way through the features of pattern matching including exploring the power of destructuring.

Пікірлер: 3
@machindrakarpe7498
@machindrakarpe7498 3 ай бұрын
I admire you a lot, always excited for your new videos
@RickGladwin
@RickGladwin 3 ай бұрын
I’m a simple man. I see a Venkat Subramaniam video, I click it.
@RickGladwin
@RickGladwin 3 ай бұрын
Around 52:40, the use of `sealed` without `permits` is really clean, but how/when does the compiler determine that `Sell` and `Buy` are the only two entities implementing `Trade`? Or if the compiler keeps track of everything that implements `Trade` whether `Trade` is sealed or not, does the `sealed` modifier just tell it to treat that set as complete, for the purposes of things like pattern matching?
Mockito Features and Best Practices by Kenneth Kousen
57:52
Developer Summit
Рет қаралды 163
Designing with Sealed Classes by Venkat Subramaniam
1:01:12
Developer Summit
Рет қаралды 513
No empty
00:35
Mamasoboliha
Рет қаралды 12 МЛН
Box jumping challenge, who stepped on the trap? #FunnyFamily #PartyGames
00:31
Family Games Media
Рет қаралды 29 МЛН
Observing Applications in Production by Venkat Subramaniam
58:13
Developer Summit
Рет қаралды 596
Software Architecture for Gen AI by Rebecca Parsons
1:01:25
Developer Summit
Рет қаралды 705
The Amazing Features of Modern Java  - Venkat Subramaniam
1:02:01
Developer Summit
Рет қаралды 29 М.
Hypermedia and the Rest of REST by Michael Carducci
1:01:48
Developer Summit
Рет қаралды 241