I am not sure if I should choose a class with a companion object in scala instead of using just an object. I just want to use the object anyway, but just because I only need one instance of the class. On the other hand, I am reading that classes with companion objects are a good practice. So, any help about when to use one or another?
Thanks
object
. – Bergi