A response to Design patterns are from hell^2!

While I can agree that design patterns are quite abused nowadays – mostly by clueless people doing cargo cult programming – I cannot leave “[…] design patterns are language dependent uncommented.

Starting with the very first two sentences of Wikipedias Design pattern (computer science) page “[…] a design pattern is a general reusable solution to a commonly occurring problem in software design. A design pattern is not a finished design that can be transformed directly into code.” should result in a question like: How can something like that be language dependent?

Continuing with the Wikipedia page for the Builder pattern reveals a text that explains the pattern in a programming language agnostic way, leaving language specific implementations to the examples section where they belong.

Allow me to close this with a Singletons must die.

About these ads