is there some good reading material on how people ...
# announcements
r
is there some good reading material on how people stylistically handle the fact that you can have top-level functions without classes in Kotlin? Do you ever create stateless classes or is it more common to just declare stuff with functions and import the function?
a
I almost never create a class that just has functions and nothing else [no constructor params, fields etc]
I might create a singleton object to hold everything in - but not a class
☝🏻 1