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

Other than cooperative threading: they are also adding a more versatile switch statement, with some form of pattern matching https://openjdk.org/jeps/441

But it still falls short of deconstruction patterns of Scala, though that is something that they want to do in the future (see 'Future Work' section)

i think that Scala is driving a lot of progress: (for example java adopted streams, probably inspired by Scala)



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: