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 Read more
Author: Grzegorz Piwowarek
Hamming Error Correction with Kotlin – part 2
In this article, we continue where we left off and focus solely on error detection for Hamming codes.
Read more
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(7,4) encoder using Kotlin.
Hamming
Read moreSneakily Throwing Exceptions in Lambda Expressions in Java
Handling checked exceptions in lambda expressions is often frustrating. Luckily, there is a type inference rule that we can exploit… Read more
Bypassing Kotlin’s Null-Safety
In this short article, we will have a look at how we can bypass Kotlin’s native null-safety with sun.misc.Unsafe, and see why it can Read more
Maintaining PriorityQueue Order with Java Streams
The tricky thing about working with PriorityQueues is that, ironically, they don’t always behave according to the PriorityQueue semantics. Read more