Fear and loathing in Scala and Kotlin interop

Day 3 /  / Track 2  /  RU / Introduction to technology

Have you ever thought of switching from our «good old Java» to something modern, more convenient, less verbose and elegant? Do you enjoy dealing with irritating things such as getters and setters, stupid type casting, poor switch, lambdas, checked exceptions, NPE?

Some of the Java developers can't stand it so much, that's how many other JVM-based languages appeared. One of the most popular and interesting languages is Scala. On the one hand, it was a breath of fresh air for some java devs, on the other hand, it was too complicated for other developers...

Then Kotlin appeared! The popularity of this language is constantly growing. And finally, some Scala addicted companies started investigating it.

In this talk, we won't compare these two JVM citizens. We will try to understand how they can leave together in one codebase, why do we need this kind of relationship, what problems we can have and how to solve them. Sometimes the talk will be funny, sometimes painful, sometimes nostalgic... Everything like in real life.

We had one week, two Scala devs, one Scala artifact, a bunch of Kotlin libraries, one Kotlin book, a couple of microservices, two build systems and an IntelliJ IDEA... Not that we needed all that for the task, but once you get locked into a serious drug collection, the tendency is to push it as far as you can...

Download presentation


Marharyta Nedzelska

Margarita is a big Kotlin fan and Kotlin GDE. Knows both conference sides: speaking and organising. Organised a KUG in her native city Kyiv because she believes in Knowledge Sharing and Collective Intelligence. For her everyday job she's building Static Code Analysis tools for Java/Kotlin/Scala and other languages.

Invited Experts

Pasha Finkelstein

Despite his education in psychology, for 14 years Pasha managed to work in a lot of IT areas — system administration, development, management, data engineering, in general, touched almost everything that exists in IT. More than 10 years ago he started practicing DevOps and never focused on just one thing. Now Pasha works at JetBrains on Big Data Tools – tools to make data engineer's life easier. Very sociable, loves, and understands people and is always happy to answer any questions.

Evgeny Mandrikov

Evgeny is a contributor to various open source projects and a speaker at international conferences and JUGs. He is one of the lead developers of JaCoCo project, and also the project lead of the award-winning EclEmma project at the Eclipse Foundation that integrates JaCoCo into Eclipse IDE. In his day job at SonarSource Evgeny develops SonarQube's static source code analysis for languages such as Java, C/C++, C#, JavaScript.