Hi @Andreas Sinz ,
Thanks for your reply. I am well aware of the design problems with statics.
What i don't see is where companion objects are better.
For statics, you have the class object to hold them. For companion objects, an extra object which lives in parallel to the class object is created to hold something, we now don't call static any more.
If i go through the list of issues with statics inside you stackocerfliw link, which one is remedied by companion objects? And how?
On the other side they bring a relevant performance penality.