So, in Java we have a class that has `public boole...
# getting-started
a
So, in Java we have a class that has
public boolean hasBareMinimumFields() { return thisField.isInitialized() && thatField.isInititalized() }
. In Kotlin, I can either make this a function or a variable and override the
get()
method. Is there a preferred way, and why?