What's the status for <https://youtrack.jetbrains....
# language-evolution
e
What's the status for https://youtrack.jetbrains.com/issue/KT-11968? Is there any hope we'll see a preview in 2025?
m
Most likely, no preview 2025. Primarily because we have figured out the design for collection literals (where we initially considered using statics) and expect to publish the KEEP relatively soon. Additionally, the previous design was quite controversial regarding existing companion objects. In the context of the value classes/valhalla work, we have an idea how to take
this
back from some companions, which will essentially allow us to declare extensions on classes that don't define companion objects. The advantage of this design is that it 'limits' the existing companion objects concept and avoids the introduction of a very-very similar concept to the language, which is the main problem of statics
💯 2
e
Thanks! I'm not sure how those things would solve the namespacing of functions and properties tho. I think what most people were looking at was a way to group functions and properties - which is what we can do with an
object
for example. Specifically this part of the KEEP: https://github.com/Kotlin/KEEP/blob/statics/proposals/statics.md#static-objects