News for hackers. Stuff that matters.
Re:Java 21: What’s New? by lmm on Wednesday August 09, 2023 @06:16PM (#37069149)
Kotlin is even worse; it's younger than Java but also has 5 legacy ways to solve the problem and two more in the newer version, it's just that the legacy ways have been removed so any examples you find online won't work any more.
Re:Java 21: What’s New? by unscaled on Wednesday August 09, 2023 @10:54PM (#37071380)
Are there any examples for this?

Kotlin sure moves faster than Java, but except for features that were experimental or unstable to begin with (coroutines, -X flags), I can't think of a case where more than 1 deprecated version exists (and the "deprecated" versions are not nearly as crufty as Java).

Re:Java 21: What’s New? by lmm on Wednesday August 09, 2023 @11:07PM (#37071462)
Those "experimental or unstable" features tend to be the advertised selling points of Kotlin. Particularly for async, the previous "experimental" APIs were the only ones available at the time and the recommended way of using Kotlin.