5
eeee
4y

Any Kotlin fans out here? What's your favourite feature?

To me: coroutines and the flow API. I can't wait for the state flow and shared flow APIs to be released. Goodbye Rx! It'll come probably in the next release, which might come in a week already, because then JetBrains (Kotlin developer) hosts their online alternative to KotlinConf.

Comments
  • 1
    I'll probably stick with Rx awhile longer. There's a volume of existing work I'm not eager to reimplement, and the operator feature spread isn't 1:1 yet.
  • 0
    I don’t know how the Pageable and Sort interfaces magically create api fields and I always fall back of the habits to write TypeScript.
  • 0
    @SortOfTested no need to rewrite existing stuff! Just start slowly adopting new APIs until you are familiar enough. There's also functions that simply adapt Rx types to Flow types and vice versa, so the transition should be smooth.
  • 0
    @eeee
    I'm going to wait for feature parity. We have somewhere in the neighborhood of 200 custom operators.
  • 0
    @SortOfTested sounds like Rx hell!

    It really doesn't matter. Stick with Rx if that works. I just like the idiomaticity of the flow API and how operators are implemented.

    Also, feature parity is not the goal of the coroutines lib. The community will provide feature parity for those who need it. And otherwise just convert between the two domains, which is trivial.
  • 1
    I just got my JetBrains student license, I’m gonna use it to learn kotlin. I’m sick of java
  • 1
    @eeee
    Rx was never hell for me. But I also like clojure and scala so I intuitively understand what it's doing.
  • 0
    @SortOfTested @eeee hey, you guys still on this app?
Add Comment