Why I’m Not a Fan of “Utility” Classes

Blog of the day about Design Paterns , Firebird Anti- Paterns

All the time I run across classes with names like UserUtility, PartUtility, SectionUtility. Every one of them is filled with barely related, mostly static, methods for doing all kinds of stuff with and to a thier related objects (User object, Part object, or Section object)

…

(No Ratings Yet)

Leave a Reply