Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

23
  • 51
    Controversial opinion: The abstract factory is a code smell anyway :) Commented Nov 12, 2016 at 16:20
  • 67
    Controversial opinion, maybe, but an oh so important opinion to express. Design patterns are in danger of becoming an example of the emperor's new clothes, where we are all scared to question whether they are useful. Well done. Commented Nov 12, 2016 at 19:39
  • 21
    @MetaFight ControversialDesignPatternOnlineOpinionHumanReadableRetortFactory.newInstance().getText(); Commented Nov 13, 2016 at 8:08
  • 11
    "The point of design patterns is improve communication between developers" I thought design patterns were to solve problems that were commonly (and quite often independently) encountered by developers. Standards improve communication, and due to fluctuations (patterns arising from XY problems, patterns being considered anti-patterns) many don't consider design patterns to be standards. Design patterns are good at pin-pointing lack of language features, and I believe language designers are implementing these problem-fixes before they become design patterns. Don't take my word for fact though Commented Nov 13, 2016 at 20:19
  • 11
    @ChrisW I don't see your point... As I said the GoF tried to overcome OO shortcomings, and especially C++98 shortcomings as this was their language of choice along with Smalltalk. They actually wrote : "The choice of programming language is important because it influences one's point of view. Our patterns assume Smalltalk/C++-level language features, and that choice determines what can and cannot be implemented easily." Commented Nov 14, 2016 at 3:36