Actually that will do the computation every time t...
# getting-started
d
Actually that will do the computation every time the property is accessed, which might not be what you want. In that case use a factory method (or a "fake constructor", i.e.
operator fun invoke
in
companion object
).