But i could also do this on a Note level instead o...
# codereview
k
But i could also do this on a Note level instead of a field level what would be a good design here?
r
Hey man, this is a Kotlin specific Slack workspace, so your question, being based in Java, is very off-topic.
k
why did u get the impression that this is not kotlin?
r
The code snippet you posted is not Kotlin. It’s Java. In Kotlin, your snippet would look like this:
Copy code
class Field(val title: String, val value: String){
  val id = Util.UUID4()
  val properties = HashSet<String>()
}