Design patterns are algorithms for object-oriented programming. Normally we think of an algorithm as a list of instructions to be followed to perform a task. In procedural programming, it's easy to point to a subroutine and say, "This is a sorting algorithm."
It's harder to point to a collection of a dozen objects and say they are an "algorithm" to do something. "Design pattern" is an attempt to capture the same concept that "algorithm" does for procedural programming.
The book
Ready-to-Run Visual Basic Algorithms, Second Edition
includes a chapter on object-oriented paradigms that are design patterns. It also includes a host of more traditional procedural algorithms.
For more information on this book including a table of contents and reader and reviewer comments,
click here.
For Amazon.com's listing on this book or to buy it,
click here.
The book
Design Patterns
by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides explains a variety of design patterns in C++. While the code examples are in C++, the ideas are easy to translate into Visual Basic.
For Amazon.com's listing on this book or to buy it,
click here.
For more online information about design patterns, go to
http://www.enteract.com/~bradapp/docs/patterns-intro.html
|