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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c9629eba26884d78 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-31 12:06:10 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: XML DOM Binding for Ada 95 - matter of style Date: 31 Jul 2003 20:04:51 +0100 Organization: Pushface Sender: simon@smaug.pushface.org Message-ID: References: <3f27bab4$1@baen1673807.greenlnk.net> <3F28F61D.4050504@noplace.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1059678369 28218 62.49.19.209 (31 Jul 2003 19:06:09 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Thu, 31 Jul 2003 19:06:09 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: archiver1.google.com comp.lang.ada:41099 Date: 2003-07-31T20:04:51+01:00 List-Id: "Matthew Heaney" writes: > "Preben Randhol" wrote in message > news:slrnbihv85.4jd.randhol+abuse@kiuk0152.chembio.ntnu.no... > > I thought one of the problems with Booch was that it was using > > tagged types too much. Does Charles also use this approach? > > One problem is that you have to make two instantiations: one for the > root package, in which the root type is declared, and another, for > the child package in which the actual container (derived) type is > declared. This is a royal pain. ^^^^^^^^^^ I would say "mildly tedious", but then I would, wouldn't I! It's not clear to me that this is a consequence of using tagged types?? perhaps .. anyway, what people complain about, until they've got used to it or developed a tool to generate the code for them, is the instantiating, not the taggedness.