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,2f7ef46127892c41 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Received: by 10.68.125.201 with SMTP id ms9mr3571004pbb.3.1336332819640; Sun, 06 May 2012 12:33:39 -0700 (PDT) Path: pr3ni11664pbb.0!nntp.google.com!news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Little people supporting Ada, possibly through AdaCore? Date: Sun, 06 May 2012 20:33:39 +0100 Organization: A noiseless patient Spider Message-ID: References: <12955589.960.1336138013614.JavaMail.geo-discussion-forums@vbbfk16> <43677.1420.1336161593478.JavaMail.geo-discussion-forums@ynjb15> <32237742.280.1336321619698.JavaMail.geo-discussion-forums@ynee1> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="GhzCuPrEZ+dInccd0W7aSw"; logging-data="23545"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18w4i5/i0SjT/pcYUkJomTiNb0d17AIzsI=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (darwin) Cancel-Lock: sha1:nxffLJl0i6TxFe55YcRkiPDNqhU= sha1:JNsV0e0AQPGNtkd0KjXPu/zgXJg= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Date: 2012-05-06T20:33:39+01:00 List-Id: "Yannick DuchĂȘne (Hibou57)" writes: > Le Sun, 06 May 2012 18:55:27 +0200, Simon Wright > a Ă©crit: >> Oliver's use is rather more like what Rational Rose used to call a >> "utility class" (one which has no instances) than a singleton (which ash >> one instance). > > What's the difference? It has to be instantiated, anyway. Not sure what you mean by 'instantiated'. If the UML model has a class marked <> then something in the generated or handwritten code will have to provide a place for the class's attributes; in some sort of instance record. If a class is marked <>, on the other hand, I'd expect it to be illegal (in that profile) for the class to have any attributes, so there can be no need for an instance record.