Re:Java 21: No more public static void main
by kaba0 on Monday June 05, 2023 @02:14AM
(#36192998)
String templates are coming, there is IntStream.range(1, 10), there is `final var`, I don’t see much point to having coroutines with Loom, == would be ecosystem fracturing breaking change so please no, that nullability might actually come with the recent direction Valhalla’s value types took, readonly collections would be cool, but that ship has sailed, array sigils are such a small thing I don’t see the benefit, I don’t get the lambda one, variable: Type is again a breaking change for not good enough reason, records are immutable but once withers complete they will be imo better, you do have static blocks but with records you also get a canonical one with very similar syntax than what you want, if expressions were actually great, nested ternaries are the only syntax I really have a hard time with even after many years.
Kotlin is not the panacea of language design either.
Kotlin is not the panacea of language design either.