I have a question regarding 'Utils' vs 'Extension ...
# codingconventions
d
I have a question regarding 'Utils' vs 'Extension functions'. When a class 'misses' a generic method, it can be define as 'extension function'. When it is very specific, it can be done
private
or
internal
. What about one which is 'kind of generic' but not really widespread. I am thinking about utilities for commonly used classes like
String
or
Context
in Android, where abusing extension function might lead to a very polluted auto complete