From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b88383a5d9c51aa0 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!xmission!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Ada-Singleton-Why does it work like this? Date: Wed, 25 Mar 2009 11:00:27 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <5a7a870c-40e2-4803-8753-0f9cfd2b800f@k2g2000yql.googlegroups.com> <13su65cm8b5ov$.1198qla32cc3i$.dlg@40tude.net> <1bf21w38d0xy6.1jeyl0h376pe7.dlg@40tude.net> <14672a25-24e6-4b04-8556-c58690d8f3d3@w35g2000yqm.googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1237993228 23365 192.74.137.71 (25 Mar 2009 15:00:28 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Wed, 25 Mar 2009 15:00:28 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:X9PP8vASxP0BnYVlkj6vjZjvFp4= Xref: g2news2.google.com comp.lang.ada:5271 Date: 2009-03-25T11:00:27-04:00 List-Id: "patrick.gunia@googlemail.com" writes: > This might be true for some simple patterns like Singleton, though I > think that most patterns solve problems which are language > independent, thus not aiming at a language deficiency. For example > patterns for using frameworks or letting different interfaces > communicate with each other. It seems to me that this is an > architectural question, not a language question. More than half of the design patterns in Gamma et al are unnecessary in some language (in some cases, in Ada), either because they are supported directly by the language, or because they are so trivial that you wouldn't bother calling them a "pattern". - Bob