4 ms·
> By contrast, design patterns are about forcing a common solution onto a range of different problems. I always viewed design patterns as providing a shared na
by sbov 9y ago
> By contrast, design patterns are about forcing a common solution onto a range of different problems.
I always viewed design patterns as providing a shared name for common solutions to common problems. And that forcing a common solution to a range of different problems was a misuse of them.
But maybe I'm wrong.
- bitwize 9y agoI like to think of design patterns as "TV Tropes for programming". The GoF probably intended their book to be taken in that spirot. But then design patterns became something that computer science students and job candidates got quizzed on...
- kbp 9y ago> I always viewed design patterns as providing a shared name for common solutions to common problems. And that forcing a common solution to a range of different problems was a misuse of them. Exactly, a design pattern is just that: a pattern of design, that shows up organically after you have enough systems designed in the same language. Many of the design patterns that occur in languages like C++ and Java don't show up in Lisp because Lisp is a rather different language, but then we have our own design patterns as well, things like with- macros.