Don't ask an Object for the information that you need to do the work - rather ask the Object that has the information to do the work for you...
- "Why getter and setter methods are evil Allan Holub Java world 09/05/03"
Open closed principle - software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification.
- "Wikipedia"
Monday, March 31, 2008
Code wisdom.
Labels:
programing
Subscribe to:
Post Comments (Atom)


No comments:
Post a Comment