https://kotlinlang.org logo
Title
a

amansinghal

03/06/2019, 5:09 PM
Is anyone using kotlin with scala ? I am planing to eventually migrate 10 Million LOC from scala to kotlin. I know that the interoperability with scala isn't good. But just wanted to know if any one has experienced some hurdles/extreme pain points in doing so
👀 2
😨 1
l

LeoColman

03/06/2019, 6:03 PM
IMO I wouldn't do it.
I'm having a shitload of problems using Kotlin + Apache Spark
I'm not completely sure if it's due to Scala, but I think it is
The language works fine, but the IDE has a crappy support
(for that interoprability)
When this was discussed in #general, people said that spark + kotlin had a loooot of problems with IntelliJ. I was forced to revert to Java for that kind of work
a

amansinghal

03/06/2019, 6:35 PM
Thanks for your advice We dont use apache spark as of yet, but we plan to add it But personally i am looking at various annotation processors and intellij support for kotlin
k

kenkyee

03/06/2019, 6:36 PM
sbt also has conflict too AFAIK...Scala generates Java interop and Kotlin can't reach it. At least that's one of the coworkers told me...
👌🏻 1
s

sam

03/07/2019, 1:04 PM
Scala and Kotlin don't work very well together in my experience. That was possibly because the project I used them in had inter dependencies. If you could convert a stand alone module then you might be alright. And the first thing I'd do is ditch ShitBT if you're using that.