How To Use Nullable Types Correctly in Kotlin

Learn the different mechanisms to deal with null elements

The Bored Dev
Better Programming
Published in
5 min readNov 22, 2021

--

Photo by Michael Dziedzic on Unsplash

One of the most annoying aspects in writing code in Java is dealing with null elements. Having to place null check conditions everywhere just to make our code null-safe is something that probably most of us have suffered quite often.

--

--