TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

"Design Patterns" Aren't

35 pointsby initselfalmost 17 years ago

7 comments

gruseomalmost 17 years ago
I sympathize with the critique of GoF design patterns, but the author is seriously distorting Alexander in his eagerness to dissociate him from them. "How can you distribute responsibility for design through all levels of a large hierarchy" is not the theme of A Pattern Language, which is easy to see when you consider that the book is largely about dwellings (which don't involve any large hierarchies).<p>I agree, though, that the most interesting aspects of Alexander never made it into GoF. His key insight is that buildings should be designed around what makes humans feel more alive in them. Applying that to software, you'd end up thinking more about projects and teams than about iterators or singletons.<p>Another aspect of Alexander that's relevant to programming is his exploratory approach to making buildings. As I understand it, he never designs anything up front. Rather, he studies the site, talks to the people, and builds a little at a time, allowing the thing to emerge in a way that is appropriate.
评论 #284543 未加载
评论 #285079 未加载
olavkalmost 17 years ago
An interesting part is the addendum in the postscript, where he wonders why "almost everyone who has read this has completely missed the point".<p>Of course he blames the misunderstanding on the readers (who else?), but it interesting example for anyone concerned with presentations or communication in general to ponder why this happens in this specific presentation.
评论 #284762 未加载
评论 #284734 未加载
tonystubblebinealmost 17 years ago
Lots of good reading on plover.com. Back in my Perl days he was one of my favorite writers. He's also the only person who does a clear job of explaining how regular expressions work.
评论 #284530 未加载
DanielBMarkhamalmost 17 years ago
Dude -- this is awful. And I don't like design patterns.<p>If you're going to trash something, at least know enough about it to be able to describe what you're trashing.<p>I agree with the author that thinking about design is where we all want to go. Re-usable bits of pre-digested thinking is crap. But with generics you can do container-iterator stuff pretty easily in most modern languages. His examples and his understanding of where languages were is sub-standard, even for 2002. ("when we're talking patterns everyone knows we mean C++" -- WTF?)
评论 #284796 未加载
stcredzeroalmost 17 years ago
What the author says happened to the words "Design Patterns" happened to the words "Object Oriented" in the late 90's. Words were appropriated to mean something other than the original intention. Alan Kay has explicitly stated that by "Object Oriented" he didn't mean something like Java. (Alan Kay once stood up in front of Smalltalk Solutions conference as keynote speaker and castigated the whole Smalltalk community saying: "I didn't mean Smalltalk to be a <i>Programming Language</i>!" * )<p>What the author's saying: Alexander did not mean something like the GoF Design Patterns, so maybe we should look at Alexander's book again?<p>( * - He originally meant it to be something like the OLPC operating system.)
gasullalmost 17 years ago
In a nutshell, FTA:<p>* <i>People are using 1970s-era languages</i><p>* <i>The "Design Patterns" solution is to turn the programmer into a fancy macro processor</i>
评论 #285118 未加载
KevBurnsJralmost 17 years ago
<i>Object Oriented Software Design</i> and <i>Architecture and Planning</i> are two very different activities.<p>It's no wonder that Patterns in each discipline should vary so widely.<p>As different from each other as they are from 1920s <i>Stitching</i> Patterns sold in catalogs with bulk cloth.