Choosing the right Design Pattern
Posted
by
Carl Sagan
on Programmers
See other posts from Programmers
or by Carl Sagan
Published on 2014-02-05T23:47:44Z
Indexed on
2014/05/29
21:59 UTC
Read the original article
Hit count: 221
c#
|design-patterns
I've always recognized the importance of utilizing design patterns. I'm curious as to how other developers go about choosing the most appropriate one. Do you use a series of characteristics (like a flowchart) to help you decide?
For example:
If objects are related, but we do not want to specify concrete class, consider Abstract
When instantiation is left to derived classes, consider Factory
Need to access elements of an aggregate object sequentially, try Iterator
or something similar?
© Programmers or respective owner