In Java, to declare a constant, you do something like:
class Hello { public static final int MAX_LEN = 20; }
What is the equivalent in Ko
For me
object Hello { const val MAX_LEN = 20 }
was to much boilerplate. I simple put the static final fields above my class like this
val MIN_LENGTH = 10 class MyService{ }