I tried to use interfaces instead of utility classes but it doesn't look like a solution for everything. The main problem with interface is... it's an interface so it widers the API which is not what you want. Normally you can have one interface for API and second one as a helper, then it's probably fine. If you use direct instances you can't use interface helpers.
I tried to use interfaces instead of utility classes but it doesn't look like a solution for everything. The main problem with interface is... it's an interface so it widers the API which is not what you want. Normally you can have one interface for API and second one as a helper, then it's probably fine. If you use direct instances you can't use interface helpers.