Join Slack
Powered by
Ah, my bad, I read it as if `-1` will be used as “...
# announcements
a
artem_zin
02/14/2017, 10:15 PM
Ah, my bad, I read it as if
-1
will be used as “not-initialized” state by
lateinit
internally, surely you can use some default value if possible, but beauty of
lateinit
is that it removes
if (initialized)
checks from your code
2
Views
Open in Slack
Previous
Next