logoalt Hacker News

yz45306/04/20251 replyview on HN

Not OP. IMO the recent Java changes, including pattern matching (especially when using along with sealed interface), virtual threads (and structured concurrency on the way), string templates, are all very solid additions to the language.

Using these new features one can write very expressive modern code while still being interoperable with the Java 8 dependency someone at their company wrote 20 years ago.


Replies

tpm06/04/2025

fyi: string templates were just a preview and removed in Java 23

show 1 reply