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)

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Leave a Reply