4 ms·
Having read Christopher Alexander before encountering GoF, I am a little sympathetic to the GoF. IMHO, the idea of patterns addresses two things: 1 - attacking
by gumby 6y ago
Having read Christopher Alexander before encountering GoF, I am a little sympathetic to the GoF.
IMHO, the idea of patterns addresses two things: 1 - attacking the "haystack/spaghetti" that most large systems tended to result in, by providing a vocabulary or standard set of metaphors that can be used to encourage rather than discourage some good practices; and 2 - provide a common meta-vocabulary for discussing design (sometimes those "discussions" are between a long gone programmer and someone that encounters the code later).
Of course what we got instead was fetishism and towers of factory classes emitting envelopes resulting code that was diffuse, incomprehensible, and that focused on things other than the actual problem at hand. Despite my theoretical sympathies I stay far far away from the GoF.
This reminds me of the Agile movement: not that bad an idea for a technical management consulting team trying to solve a customer's tactical problem. But outside that domain only some bits and pieces make sense, and, depending on the domain, not always the same bits and pieces. Again: fetishism took over.
- dkarl 6y agoYeah, I appreciate their intent, but I think they made a mistake in thinking they were near the end of programming history. They really thought they were zeroing in on a lasting, almost ideal style, but it turned out to be a style that was quickly made obsolete by changing languages, programming concepts, processes, and architectures. Also, in software, you're designing for the machine and for other programmers, and it's a lot easier to discover how well a software design performs for machines and colleagues than it is to discover how an architectural design performs for a family, a company, or a society. I do appreciate the intent, but it's hard to see why someone would still be sticking with the design patterns concept twenty years later.