Quote
"Modeling Principle: Models are not right or wrong; they are more or less useful."
M
Martin Fowler"Often youll see the same three or four data items together in lots of places: fields in a couple of classes, parameters in many method signatures. Bunches of data that hang around together really ought to be made into their own objects."
"Modeling Principle: Models are not right or wrong; they are more or less useful."
"When you feel the need to write a comment, first try to refactor the code so that any comment becomes superfluous."
"Often designers do complicated things that improve the capacity on a particular hardware platform when it might actually be cheaper to buy more hardware."
"The key is to test the areas that you are most worried about going wrong. That way you get the most benefit for your testing effort. It is better to write and run incomplete tests than not to run complete tests"
"Refactoring is a disciplined technique for restructuring an existing body of code, altering its internal structure without changing its external behavior. Its heart is a series of small behavior preserving transformations. Each transformation (called a refactoring) does little, but a sequence of transformations can produce a significant restructuring. Since each refactoring is small, its less likely to go wrong. The system is also kept fully working after each small refactoring, reducing the chances that a system can get seriously broken during the restructuring."
"Comprehensiveness is the enemy of comprehensibility"