December 01, 2005 - Utility Functions as a Code Smell

Keith Ray says utility functions are a code smell and I wholeheartedly agree.


BTW I often use the Adapter Pattern to wrap a class that seems to need utils until eventually the Adapter grows into a whole new class of its own. I have done this to add utility functions for parsing and xpath querying to org.w3c.Document for example.


Posted by Kevin Lawrence at December 1, 2005 09:48 AM


Trackback Pings

TrackBack URL for this entry:


Comments

Post a comment




Remember Me?