Category Archives: Kotlin

Compiler Hinting with Kotlin Contracts

Kotlin’s built-in null-safety makes it easy for us to write code that’s less error-prone and less susceptible to the unwanted and unexpected NullpointerException at runtime. We can do a lot to make sure it doesn’t happen, but sometimes there’s no way around … Continue reading

Posted in Blog, Kotlin | Leave a comment

Let’s stay away from silver bullet claims

Apparently everybody’s  favourite JVM language beat Java in a recent code-smell contest. The Register reported on a paper by Bruno Gois Mateus and Matias Martinez who had carried out an extensive survey of the rate of Kotlin usage in recent … Continue reading

Posted in Blog, Kotlin | Leave a comment

Kotlin Release news: Kotlin 1.2.60, Kotlin 1.3 M1, Kotlin Native 0.8

Some good news coming from Jetbrains, who have been tirelessly working on expanding and improving Kotlin and the tools provided with it. In this post I’ll provide an overview of the latest news.

Posted in Kotlin, News | Leave a comment

Going functional and fullstack with Spring Fu and Kotlin

Spring Fu is an experimental Kotlin micro-framework that makes it easy to create lightweight Spring-powered applications with functional APIs instead of annotations. Fu is for functional API, but that’s also a wordplay with the -fu suffix which means skill, the … Continue reading

Posted in Blog, Kotlin | Leave a comment

Optional Kotlin

Last week I was working on a code base which had been partially converted from Java to Kotlin. The converted Java code base was making extensive use of java.util.Optional. The use of Optional might be helpful in situations where you … Continue reading

Posted in Blog, Kotlin | Leave a comment