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.
1 Comment{ 4Comprehension } Posts
The peek() method from the Java Stream API is often misunderstood. Let’s try to clarify how it works and when should be used.
Stream<T> peek(Consumer<? super T> action)4 Comments
Vavr is now a must-have for every modern Java 8+ project. It encourages writing code in a functional manner by providing a new persistent Collections API along with a set of new Functional Interfaces and monadic tools like Option, Try, Either, etc.
5 Comments