https://kotlinlang.org logo
#feed
Title
# feed
j

JBordage

02/07/2023, 3:13 PM
Just curious but what happened with kotlin namespaces? Is it still in development or was it ultimately abandoned as feature? If it was is there an article where I can read about why? It seemed to be in discussion around 2 years ago around when Kotlin 1.4 was out (See linked video), but I can't really find much on it in the most recent forum posts and blogs.

https://youtu.be/0FF19HJDqMo?t=684

So far the consensus from what I've read is that the closest thing to a top-level namespace is using an
object
. Although, I've also read that, that can add quite a bit of overhead with the singleton that it generates.
l

Landry Norris

02/07/2023, 3:14 PM
It’s on the roadmap for this year, I believe
j

JBordage

02/07/2023, 3:15 PM
Oh nice
l

Landry Norris

02/07/2023, 3:15 PM
j

JBordage

02/07/2023, 3:15 PM
oh no
l

Landry Norris

02/07/2023, 3:17 PM
Sorry for the back-and-forth, looks like they had a few changes lately. It’s listed as part of the language evolution generally, so looks like it’s planned, but without a firm timeline, hence removal from the roadmap. https://youtrack.jetbrains.com/issue/KT-54620/Language-Evolution
j

JBordage

02/07/2023, 3:18 PM
Quite the rollercoaster ride xD Nonetheless, thanks for the info.
l

Landry Norris

02/07/2023, 3:19 PM
I swear I checked a couple weeks ago, and it was on the Roadmap still.
j

JBordage

02/07/2023, 3:23 PM
Haha yeah. I guess it all depends on how they manage tasks and deliverables behind the scenes. Perhaps it was pushed to the public roadmap too early, or maybe it was intentional but then they hit a blocker and decided to backstep the timeline in order to manage expectations. We may never know. ¯\_(ツ)_/¯
l

Landry Norris

02/07/2023, 3:25 PM
Likely some delay relating to K2. I think they’re trying not to add too much new stuff to K1. Right now, they have to do everything twice. At the end of this year, we should see things moving faster.
👍 1
y

Youssef Shoaib [MOD]

02/07/2023, 6:31 PM
Next time this should probably go on #language-evolution because it's more relevant than #feed
j

JBordage

02/07/2023, 6:33 PM
I'll keep that in mind. Frankly, I just didn't know which channel to put it in since there are so many.
e

elizarov

02/13/2023, 2:28 PM
Statics are on the roadmap. In fact, they’ll have to be one of the first things in 2.x, since many other highly-needed features depend on them.
12 Views