https://kotlinlang.org logo
#announcements
Title
# announcements
v

ValV

10/09/2018, 11:26 AM
It's better to make Lua-like checks:
message = nihil and "Not nil" or "It's nil"
, but with Kotlin-specific syntax, e.g.
message = nullable & "Not null" | "It's null"
, where
nullable
would be checked for nullity, zero-value (if not null) and treat as boolean expression
😱 7