I came across a couple of good posts here and here on helper classes.
Although I don’t believe helper classes should be thrown out altogether
it is easy to abuse them. In the Java project I was working on recently
there were a couple different helper classes (using the term loosely
here) I refactored into a single singleton class (another one of
those practices you don’t want to overuse). By creating a new class and
renaming the methods to provide a better abstraction eliminated the
need for the two helper classes. The posts along with the comments are
well worth the read.
September 10, 2005
The Evils of Helper Classes
Leave a Comment »
No comments yet.
RSS feed for comments on this post. TrackBack URI