From: Sam Kong Date: 2006-03-23T03:38:50+09:00 Subject: Re: Is this a kind of design patterns? Peter Ertl wrote: > my personal definition: > > factory method: > method, that creates a object, > because new(...) is not sufficient > in that case > > imho there's too much babbling about design patterns und too > little pragmatism. who cares if it's pattern #1 or pattern #2. > > it's more a matter of good taste as a matter of applying rules. > > especially in java I have seen ridiculous numbers of classes doing > trivial stuff using factories, abstract classes, interfaces, proxies, > adapters, delegates and the like. it's often considered by so called > architects to be good software if it uses several design pattern > no matter what for... You may be right. However, knowing the right definition is important for communcation. If somebody tells you to make a class using "X" pattern, you need to understand what "X" pattern means. The pattern names might have been arbitrarily made but now it's very common almost like a standard. Sam