https://kotlinlang.org logo
#atrium
Title
k

keturn

05/26/2020, 11:40 PM
hooray the new thing!
oh maybe the new thing is only really visible to people who have written their own infix operators. Just thought I should make a little noise because it looks like it's been awful quiet in here.
r

robstoll

05/27/2020, 6:16 PM
true, I am basically the only one writing :D
are you interested in using the infix API? Let me know in case you need help
k

keturn

05/27/2020, 6:21 PM
thank you, but no, I don't plan to. I'm fine with keeping my `.`s
r

robstoll

05/27/2020, 6:22 PM
good good, what is the thing you miss most in api-fluent? Any feature wishes?
k

keturn

05/27/2020, 6:25 PM
I'm actually only just now returning to kotlin after quite some time away. So I don't have anything in the way of case studies to report. I just saw I was still joined to this channel, and remembered liking atrium as one of the better options when I was checking things out a few years back.
r

robstoll

05/27/2020, 6:26 PM
otherwise let me know, I seldom get a feature wish which is kind of strange 😄
k

keturn

05/27/2020, 6:27 PM
the biggest thing on my wishlist is https://github.com/bnorm/kotlin-power-assert which I believe you've had a look at
r

robstoll

05/27/2020, 6:31 PM
I have seen this project and I might use similar techniques in the future to simplify feature assertions and give additional hints but I don't intend to have power-asserts as in spock
well... the additional hint could be similar actually
🤔 1
The main things which hinders me to go down this path currently are: • it requires an extra gradle plugin (so all people using maven could probably not benefit) • as far as I remember even an intellij plugin (though I cannot see anything like that in the project readme) • I am not sure if it works with the JavaScript target as well • the IR is not stable yet (last time I checked not even experimental) • and time
k

keturn

05/27/2020, 6:43 PM
hmm, if IR is an attempt to give a common representation to all the multiplatform targets, there's a chance it could work for js? but yes, certainly lots of unknowns at this stage
r

robstoll

05/27/2020, 6:44 PM
I would hope so, now I remember, KLib (Kotlin Library Format) will become experimental with kotlin 1.4
and I guess the included IR as well
8 Views