By bloid
via java.dzone.com
Published: Nov 10 2008 / 09:13
I always thought GOF Design Patterns book achieved it's objective to make us better C++/Java programmers. It taught us how to design polymorphic class hierarchies alongside encouraging delegation over inheritance. In an object oriented language like Java or C++, which does not offer first class higher order functions or closures, the GOF patterns taught us how to implement patterns like Command, Strategy and State through properly encapsulated class structures that would decouple the theme from the context. As long as we do not link them with the pattern definition and theory as espoused by Christopher Alexander, the GOF book has an invaluable contribution towards today's mainstream OO community.



Comments
xcdesz replied ago:
Author doesn't need to be snarky about java and C++ to prove his point -- trying to advocate the use of patterns to in dynamic lanugages.
Voters For This Link (15)
Voters Against This Link (3)