this post was submitted on 22 Sep 2023
9 points (100.0% liked)

Java

1386 readers
1 users here now

For discussing Java, the JVM, languages that run on the JVM, and other related technologies.

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 year ago

Are you using sealed hierarchies and records in your code base? Then pattern matching is appealing.

I'm reminded of the quip that "You can’t justify a bridge by counting the number of people swimming across a river".

Syntax and language support makes a huge difference in how people write code. People generally take the path of least resistance in a language.