Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You read that in a blog post from 2019.

Java has had comprehensive pattern matching since Java 21, like one year ago (current Java version is 22).

I posted an answer to the same parent comment with the C example written in Java...

You can read more about it here: https://www.baeldung.com/java-lts-21-new-features



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: