New to `Kotlin` but liking it so far...building a ...
# announcements
m
New to
Kotlin
but liking it so far...building a metric application so that I can have a name along with tags. I want to be able to add something like this:
Copy code
val dataCounter = metric.counter("my.metric", "tag1", "tag2")
dataCounter.increment("value1", "value2")
That way you can increment the value of the counter while keeping the same tag names. I was thinking of using data classes.