Reputation: 1779
I am learning about builder design pattern, I found two explanations of the same.
I am totally confuse over which one it is? or is it both?
Upvotes: 2
Views: 966
Reputation: 17066
It is both... and more. There are numerous patterns originating from different sources that are all referred to as "Builder". This is not so unusual as you might think; for example, there are numerous different patterns all referred to as "Factory" as well.
Regarding the two you mention.
There are more useful Builder patterns from other sources as well. See: Builder isomorphisms.
Upvotes: 2