Content deleted Content added
No edit summary |
No edit summary |
||
Line 6:
Many people especially beginners are confused about the difference between those two patterns, as they seem very similar, we need to add a section about the difference between the two patterns, the google groups discussion in the External links section seems a good starting point to me.--[[User:Khalid hassani|Khalid hassani]] 11:19, 11 August 2006 (UTC)
==Class data members should be private, chefs create pizza==
The abstract class PizzaBuilder should not have a protected Pizza data member this should be private. Having protected data creates fragile class hierarchies and generally should be avoided. Also a minor point, but generally chefs do the cooking not waiters!
|