Urs Peter

Moving from Java to Kotlin

What if you could write 40% less code and eliminate null pointer exceptions forever? Kotlin offers a pragmatic path to modernizing your Java applications.

Moving from Java to Kotlin
#1about 3 minutes

An introduction to Kotlin and its Java interoperability

Kotlin was designed as a "better Java" that maintains full interoperability with the existing Java ecosystem, tools, and frameworks.

#2about 4 minutes

Modern object orientation with Kotlin data classes

Kotlin simplifies object-oriented code with features like primary constructors, default arguments, and data classes that replace Java boilerplate.

#3about 1 minute

Leveraging functional programming with first-class functions

Functions are treated as first-class citizens in Kotlin, which simplifies the syntax for higher-order functions compared to Java's functional interfaces.

#4about 3 minutes

Achieving robust null safety at the type level

Kotlin's type system distinguishes between nullable and non-nullable types to prevent null pointer exceptions at compile time.

#5about 2 minutes

Extending existing types using extension functions

Extension functions allow you to add new functionality to existing classes without inheriting from them, which is useful for creating utility methods and DSLs.

#6about 3 minutes

Working with immutable and expressive collections

Kotlin's collections API prefers immutability by default and provides a rich set of straightforward transformation functions without Java's primitive type complexities.

#7about 3 minutes

Simplifying concurrency with structured coroutines

Coroutines enable writing asynchronous, non-blocking code in a sequential style, avoiding the complexity of reactive frameworks like Project Reactor.

#8about 2 minutes

Making the business case for adopting Kotlin

Adopting Kotlin offers a strong return on investment through increased developer productivity, fewer bugs, and the ability to reuse existing framework knowledge.

#9about 5 minutes

A practical guide to gradual Kotlin adoption

A live demonstration shows how to start using Kotlin in a Java project by converting tests and JPA entities with IntelliJ's automated tools.

#10about 2 minutes

Strategies for successful company-wide adoption

Successfully rolling out Kotlin across an organization involves creating a roadmap, building an internal community, and providing training to foster idiomatic coding practices.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

From learning to earning

Jobs that call for the skills explored in this talk.

android developer

android developer

yusuf
Andijan, Uzbekistan

Remote
Junior
CSS
Java
HTML
JavaScript
+1
Senior Java Developer

Senior Java Developer

Picnic Technologies B.V.
Amsterdam, Netherlands

Senior
Java
Spring
Amazon Web Services (AWS)