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,7ee10ec601726fbf X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-12 06:48:52 PST Sender: sjw@galadriel.frlngtn.gecm.com Newsgroups: comp.lang.ada Subject: Re: why not "standardize" the Booch Components? (was Re: is Ada dying?) References: <3BC30674.BA88AAB6@brighton.ac.uk> <9pvv3t$ves$1@news.huji.ac.il> <3BC5D730.DA950CC7@boeing.com> From: Simon Wright Date: 12 Oct 2001 14:32:29 +0100 Message-ID: Organization: Alenia Marconi Systems, ISD, Farlington X-Newsreader: Gnus v5.5/Emacs 20.3 NNTP-Posting-Host: galadriel.frlngtn.gecm.com X-Trace: 12 Oct 2001 14:29:15 GMT, galadriel.frlngtn.gecm.com Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!opentransit.net!wanadoo.fr!proxad.net!news-hub.cableinet.net!blueyonder!btnet-peer!btnet-peer0!btnet-feed5!btnet!newreader.ukcore.bt.net!pull.gecm.com!galadriel.frlngtn.gecm.com Xref: archiver1.google.com comp.lang.ada:14391 Date: 2001-10-12T14:32:29+01:00 List-Id: Jeffrey Carter writes: > I have serious reservations about the BCs. They are based on theory > rather than practical use. Booch developed his taxonomy which > determines what components exist. Does the developer really need to > choose from 21 (or whatever the number is now) different queues? In > my experience, the answer is no. Both bounded and unbounded variants > are needed, with both protected and unprotected variants of each > (the unprotected variants are primarily for creating structures of > structures, which the BCs did not permit the last time I looked at > them). Within the protected forms, a blocking variant is > needed. That gives 6 variants of queues, which my experience shows > are useful over 90% of the time. They also provide the building > blocks if you really need a lesser used variant. > > A similar thing arises from the partitioning of operations into > modifiers and selectors. Everyone is used to pushing things onto a > stack and popping things off. But popping something off a stack > involves both modifying the stack and selecting a value from the > stack. Theory says this is a No-No, so we'll separate them into Pop, > the modifier, and Top, the selector. Of course, in practical use, > every call to Top is immediately followed by a call to Pop, > indicating that the real operation on the abstraction combines these > 2 theoretical operations. I think you have the Ada 83 BCs in mind, I don't recognise the beast you're describing! -- Simon Wright Email: simon.j.wright@amsjv.com Alenia Marconi Systems Voice: +44(0)23 9270 1778 Integrated Systems Division FAX: +44(0)23 9270 1800