Kotlin truly shines when it comes to avoiding excessive bureaucracy of classical Type-Driven approaches to optionality.
Let’s see how does its native approach to null-safety compare to java.util.Optional.
Kotlin takes Type-Inference to the next level (at least in comparison to Java) which is great, but there’re scenarios, in which it can backfire on us.
In this article, we continue where we left off and focus solely on error detection for Hamming codes.
Hamming Error Correction with Kotlin – part 1
Hamming code is one of the Computer Science/Telecommunication classics.
In this article, we’ll revisit the topic and implement a stateless Hamming encoder using Kotlin. Continue reading
In this short article, we’ll have a look at how we can bypass Kotlin’s native null-safety with sun.misc.Unsafe, and see why it can be dangerous even if we aren’t messing up with it directly. Continue reading