Talk:Builder pattern: Difference between revisions

Content deleted Content added
{{WikiProject Java|class=Start|importance=low}} using AWB
Nobnak (talk | contribs)
Line 67:
==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!
 
Yeah, I think the Java example should be refactored. [[User:Nobnak|Nobnak]] ([[User talk:Nobnak|talk]]) 01:58, 3 September 2010 (UTC)
 
== Ambiguity? Or am I just confused... ==