I understand const does not work for fields
# getting-started
f
I understand const does not work for fields
k
Generally you'd put them outside of the class, the companion object is the next best place.
There's no point in having the same constant be a field in every class instance.
f
I see, thanks.