Data class smell

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
m
(See also)
Line 8: Line 8:
  
 
== See also ==  
 
== See also ==  
* [[Code smells]]
+
* [[Eliminate irrelevant classes]]
 
* [[Keep related data and behavior in one place]]
 
* [[Keep related data and behavior in one place]]
 +
* [[Code smells]]
 
* [[Refactoring]]
 
* [[Refactoring]]

Revision as of 07:54, 7 October 2008

The data class smell is present where a class has only fields, getters, setters and nothing else. It lacks the behaviours that make it a proper, stand-alone class (and consequently, the instantiated object).

Refactoring techniques

See also

Personal tools