3 ms·
lateinit is bad, because it forces you to use var. If you're using var, you can change this value later and you want the language to prevent that (unless you wa
by vbezhenar 10y ago
lateinit is bad, because it forces you to use var. If you're using var, you can change this value later and you want the language to prevent that (unless you want a mutable property, of course).