chris clarke
software development that works…or something
Annoying Patterns: Setter Injection
May 2, 2007 on 8:45 pm | In Annoying Patterns |What do I have to do to get this object to work in the way I want?
Does setting some things rely on having set something else?
With all these public setter methods the objects state can change throughout it’s life. If I have to pass references to this object around maybe I don’t want people changing it’s state.
No Comments yet »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Annoying Patterns: Setter Injection
May 2, 2007 on 8:45 pm | In Annoying Patterns |What do I have to do to get this object to work in the way I want?
Does setting some things rely on having set something else?
With all these public setter methods the objects state can change throughout it’s life. If I have to pass references to this object around maybe I don’t want people changing it’s state.
No Comments yet »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Powered by Cheese.
RSS Entries Feed.
RSS Comments Feed
^Top^