I want to know when is considered a bad practice to have a class with only static methods and variables, and what alternatives exists to avoid the practice.
I understand that they are necessary for all the cases when you need functionality but you can't or don't need an object's instance. Nevertheless I was wondering if this situations aren't the result of bad practices o bad design decisions.
Thanks