Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 20 May 2012 14:02:57 -0500 Date: Sun, 20 May 2012 12:03:07 -0700 From: Patricia Shanahan User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: How is this "pattern" called? References: <54jdr7164mceis033e8f7amqb3qhjdfv9r@4ax.com> <4fb8590f$0$295$14726298@news.sunsite.dk> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Lines: 19 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 70.230.202.8 X-Trace: sv3-cwv+O8MSgSBCF5dTKlG1co713C8xLCsMOOtU8IL99L7QxTmF14XC7EfltP7tRdS9ERAc6ts/1OIxF6z!DMJQFiAnFXd+Mv9PgLomzptpcJlgfKX+WOSSFV9+J2GxY5QfuSTKdUm37Aqm9FmnxERP+JUBgIFZ!IfUyp0q4Xde/yW/uU+TupDE3hoJD8f6puLpD+v6msL88 X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2384 X-Received-Bytes: 2525 Xref: csiph.com comp.lang.java.programmer:14681 On 5/20/2012 11:34 AM, Lew wrote: ... > The argument is over "patterns" in the GoF sense, a highly > bureaucratized, overly-verbose and religiously canonical set of labels > and formats to describe them. But even amidst all the sturm und drang > over the latter kind of patterns, they provide value in a common > terminology and informal use. So when we discuss Visitor or Singleton, > we all know what we mean. ("We" being competent programmers. One > occasionally sees posters here who are less knowledgeable.) ... I think the terminology point is very important. Saying "This is a Singleton class" conveys a lot of information very compactly. I do flip through GoF when I am looking for ideas of how to structure something. Often, either one of the patterns fits or at least the idea behind the pattern is useful to me. It's a useful catalog of alternatives. Patricia