I also gave a talk about arrow at kotlin dev days ...
# arrow
t
I also gave a talk about arrow at kotlin dev days amsterdam last week, it is about the either monad and some basic optics if anyone finds this useful 🙂

https://www.youtube.com/watch?v=Wojgv2MeMGU

👀 2
👏 1
🙌🏼 1
👍 1
🙌 4
👏🏼 1
i
interesting channel, seems like its more kotlin without android 😄 (coming from scala and trying to pick up kotlin’s ecosystem around fp and async programming)
👀 1
s
Hey @ipolyzos, I’d be happy to help you with any questions you may have. I’m quite familiar with the Scala eco-system, so if you have any doubts about what the Kotlin/Arrow counterpart would be for some of the patterns/datatypes you’re used to I’d be happy to point you in the right direction!
Comparing Scala with Kotlin is a highly subjective, controversial, … that’s why there is almost no content out there comparing it.
i
hey @simon.vergauwen thanks might reach out at some point, for now im trying to get more familiar with arrow and coroutines. Its not a scala vs kotlin for me.. just felt like my scala days are over, couldn’t go back to java, always liked kotlin and felt quite fun and so i decided to come the kotlin way 😄
👍 1
🙌 2
s
Welcome to Kotlin! A lot of your experience/knowledge will be transferable 🙂
😄 2
p
still really missing scala myself .. especially with recent developments in scala3 / zio / cats effects etc but kotlin is sooooo much nicer than java (never ever going back there! 😅)
👍 1
s
@Peter are there things from ZIO or Cats-effects you miss? Everything that is available there is available through Arrow (Fx Coroutines).
p
sweet! tbh i'm still getting up to speed on fx coroutines .. spare time has been at a premium 😄 do miss some of the language features (partial functions, traits, pattern matching, union types etc)
but hopefully kotlin continues to close the gap .. saw some encouraging comments by roman on the union types youtrack recently
s
Yes, there are a couple of these things I miss too ofc
pattern matching being a big one
Partial functions not so much 😛 Over the years I’ve developed slightly different patterns that way I did in Scala, but in essence they’re the same. It’s mostly boxed-types vs suspend & unwrapped
I.e.
EitherT[IO
is just
suspend + either
and you have all the same functionality available
p
the arrow computations / monad comprehensions have been an absolute lifesaver 🙏 🙏 use them ALL the time 😅
❤️ 1
t
:p it seems my talk inspired nostalgia
😃 2
p
great talk @Ties - i've been trying to spread the word at my current job, presenting lunch & learns.... it's slow to encourage change in the sea of java/spring developers 😉
❤️ 1
t
:) let me know if I can help in any way
i
it was a great talk @Ties and its good to see things other than android and spring .. currently im trying to use kotlin along with Apache Pulsar and Apache Flink mainly as an alternative to Java (because people prefer java over scala there 🤷‍♂️ )
❤️ 2
s
Kotlin with Apache Pulsar and Flink awesome
❤️ 1