Content deleted Content added
m →"Different representations": What?: Meaning. |
→Contradictory sections: new section |
||
Line 209:
What the point would be of doing this is a separate question. [[Special:Contributions/184.57.129.13|184.57.129.13]] ([[User talk:184.57.129.13|talk]]) 12:20, 8 March 2015 (UTC)
:Keep in mind that here ''representation'' has the [[b:Java Programming/Design Patterns#Terminology|following meaning]]. [[User:Ftiercel|Ftiercel]] ([[User talk:Ftiercel|talk]]) 05:29, 9 March 2015 (UTC)
== Contradictory sections ==
Some sections and examples switch between describing slightly different patterns:
1) Removing telescopic constructions by replacing them with a fluent-style interface. Basically a way of creating named optional parameters. This follows an item given in Effective Java.
2) Allowing clients to create complex objects by building parts separately. The client uses an interface so that different types of objects can be built by creating different concrete builders. This matches the Gang of Four book.
The introduction, C++, Java follow the first pattern.
Definition, Advantages, Disadvantages, Structure, Pseudocode, PHP, C# follow the second pattern.
Should we make all the examples consistent, or at least explain the difference? As it is the article is contradictory and confusing. [[Special:Contributions/81.187.215.34|81.187.215.34]] ([[User talk:81.187.215.34|talk]]) 23:42, 22 June 2016 (UTC)
|