with Int, Boolean, String, and whatever type, why ...
# getting-started
o
with Int, Boolean, String, and whatever type, why isn’t it advisable to initialize as Null all the time to guarantee safety? to also facilitate easy checking before using instead of like having
-1
for ints to know it’s not initialized? since you cannot lateinit primitive types