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)
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)