Kotlin binary search example

Needle and haystack While Kotlin already provides a binary search implementation for lists, it’s always fun to occasionally implement it yourself just for learning purposes.

Read more

Correct usage of Optional in Java 8

Java beans With the introduction of Java 8 we also got a new class to our disposal: java.util.Optional. The correct usage of this class, especially together with streams, can result in much cleaner code. But not always does it have benefits.

Read more
Back to top