what’s the cleanest/most kotlin-idiomatic way to d...
# codingconventions
t
what’s the cleanest/most kotlin-idiomatic way to define a method which can take one of 3 types of object, short of declaring 4x separate methods? The types in question are Date, String, Bool and Int. Wondered about a
sealed class
unsure if this is the most appropriate approach. Thread in Slack Conversation