2 ms·
> It'd be ideal if libraries were better about using constructor injection when possible, but I think there are some valid scenarios where circular dependencies
by snuxoll 10y ago
> It'd be ideal if libraries were better about using constructor injection when possible, but I think there are some valid scenarios where circular dependencies make it impossible to use only constructor injection.
Thankfully it is rare to require circular dependencies, but this is probably the one use case where lateinit is certainly warranted.