q****x 发帖数: 7404 | 1 can any daniu concisely describe their difference with example?
google doesn't return any good refernce. |
l*****a 发帖数: 14598 | 2 virtual function is a sample of factory method
abstract factory focus on creating a set of items ...
【在 q****x 的大作中提到】 : can any daniu concisely describe their difference with example? : google doesn't return any good refernce.
|
q****x 发帖数: 7404 | 3 any code example?
【在 l*****a 的大作中提到】 : virtual function is a sample of factory method : abstract factory focus on creating a set of items ...
|
b*2 发帖数: 94 | |
q****x 发帖数: 7404 | 5 in the 2nd link, template method and strategy seem the same by just
inheriting an abstract class.
【在 b*2 的大作中提到】 : http://www.oodesign.com/ : http://www.go4expert.com/forums/showthread.php?t=5127 : My favorites.
|