Use `lateinit var` for a non‑nullable property that will be initialized later (e.g., in DI or lifecycle), when `null` is not a valid state. It works only for mutable, non‑primitive types. You can check initialization with `::prop.isInitialized`.
Expanding on the short answer — what usually matters in practice:
A tiny example (an explanation template):
// Example: discuss trade-offs for "`lateinit`-vs-nullable-property:-when-would-you-"
function explain() {
// Start from the core idea:
// Use `lateinit var` for a non‑nullable property that will be initialized later (e.g., in DI
}