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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,54aae3da1cf935cd X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!news2.telebyte.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out.tin.it!news-in.tin.it!news3.tin.it.POSTED!not-for-mail From: Luca Stasio User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.7) Gecko/20040616 X-Accept-Language: it, en, en-us MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada Singleton Pattern References: <%Fi1d.245967$OR2.11136154@news3.tin.it> <414CAC2B.60400@y.com> In-Reply-To: <414CAC2B.60400@y.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Thu, 23 Sep 2004 07:35:55 GMT NNTP-Posting-Host: 80.117.235.155 X-Complaints-To: "Please send abuse reports to abuse@tin.it and technical notifications to newsmaster@tin.it" X-Trace: news3.tin.it 1095924955 80.117.235.155 (Thu, 23 Sep 2004 09:35:55 MET DST) NNTP-Posting-Date: Thu, 23 Sep 2004 09:35:55 MET DST Organization: TIN Xref: g2news1.google.com comp.lang.ada:3991 Date: 2004-09-23T07:35:55+00:00 List-Id: Pylinius ha scritto: > Luca Stasio wrote: > >> Hi, there is a way to implement the Singleton Pattern in Ada? >> There are some examples out there? >> Thanx. > > > package Example_Of_Singleton is > > procedure Do_Something; > > procedure Do_Something_Else; > > end; > > > Bring it on you stupid GangOfFour bastards, with your idiotic bloated > idioms that inculcate and contaminate perfectly good alternative > languages! > > Bring. > > It. > > On. > Please, BE QUITE. Maybe your solution is ok, but GoF just put an other way to do something. Your solution take advantage from the package nature, the GoF's one try to take advantage from the OO nature. Anything else, nothing strange! Nothing is "stupid" or "bastard" if try to give a solution, specially if it works. There are many solutions around, but please don't call anyone stupid or bastard... please, be quite. Thanx a lot. Luca { tatanka; } Stasio; // stasio2000@tin.it