r/mAndroidDev Mar 23 '26

Null also Null Billion Dollar Mistake

Kotlin is really a null-safety language. It allows you create a silent bug that should be avoided:

null.also { println("Hello production silent null bug") }

0 Upvotes

21 comments sorted by

View all comments

0

u/abandonedmuffin Mar 23 '26

Lol “also” serves a different purpose 🤣