<<< Visitor Sample | Index | Conclusion >>> |
The patterns represent excellent study cases, but...
Sometimes code that looks "well written" will perform poorly in a real application.
A good programmer writes practical code...
...which has nothing to do with memorization of design patterns.
Often a set of false assumptions leads to decisions such as "It looks like we should use a decorator pattern here..."
Don't waste your time searching for patterns in early stages of the design cycle!
Good programming skills should not be diminished by a pattern "guesswork". Find you own design solutions, validate them against well-known patterns.
Writing code outside of "pattern-based framework" is like programming with the textbook closed. It's a good thing!
<<< Visitor Sample | Index | Conclusion >>> |