I wanted to get some thoughts on using an `object ...
# android
r
I wanted to get some thoughts on using an
object {}
versus top level functions in a kotlin file, specifically from the perspective of garbage collection on android. If I have an object with a bunch of methods (let’s say it’s logging code which i don’t want in my main activity/fragments). Is it better to model this is an object with 6 methods, or as 6 top level functions in
LogHelper.kt
file?