android Archives - Make Helsinki

Tag: android

Mobiilisovellukset   •  18.3.2018   •  2 minuutin lukuaika

The One Thing I Hate About Kotlin

== true I love Kotlin. It’s an amazing language. I wrote it a love letter once. But… There is one thing about it that sucks. Null is not true. Null is not false. For example, this fails to compile if (nullableBoolean) { doStuff() } If you want to get that to work you need to compare it to true. if..