so you can not say it's a Kotlin collection type as well. please update docs.
r
Ruckus
03/26/2024, 6:30 AM
It is a "collection type" in the everyday sense, it's just not a
Collection
in the API sense. The distinction is a bit arbitrary unfortunately, but it's a legacy that has been that way on the JVM for decades, so it's a bit too late to change.
a
anlex N
03/26/2024, 6:38 AM
so crazy. That's not how innovation works.
I think Java have been corrupt, have no little innovation in many years.
r
Ruckus
03/26/2024, 6:45 AM
Innovation doesn't mean there's no legacy. And I would counter Java has had a significant amount of innovation in recent years, and there's more coming down the pipe all the time. Look through recent release notes to see all the features and enhancements that have been added, and check out some of the things currently being tested and prototyped for future versions.
Ruckus
03/26/2024, 6:46 AM
Regardless of your feelings toward Java, Kotlin still needs to hold true to its promise to be 100% compatible with Java, which does mean inheriting some of its legacy.