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,154942e4f1d1b8e9 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsfeed.inode.at!news.hispeed.ch!linux2.krischik.com!news From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Dynamically tagged expression required Date: Mon, 12 Dec 2005 20:16:37 +0100 Organization: Cablecom Newsserver Message-ID: <3960599.EjDTT3E5sO@linux1.krischik.com> References: <2852224.m2vuDFxfOX@linux1.krischik.com> <3818406.kEZhMvudHC@linux1.krischik.com> <3610380.mzgl1UEuzs@linux1.krischik.com> NNTP-Posting-Host: 80-218-112-22.dclient.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.hispeed.ch 1134495940 19986 80.218.112.22 (13 Dec 2005 17:45:40 GMT) X-Complaints-To: news@hispeed.ch NNTP-Posting-Date: Tue, 13 Dec 2005 17:45:40 +0000 (UTC) User-Agent: KNode/0.9.2 Xref: g2news1.google.com comp.lang.ada:6867 Date: 2005-12-12T20:16:37+01:00 List-Id: Matthew Heaney wrote: > Martin Krischik writes: > >> This is of corse true. It is just that my first container library was IBM >> Open-Class-Library. The OCL is a far higher level container library when >> compared to the STL. And as such I prefer the Booch-Components over the >> Ada.Containers. > > Why do you say that the OCL is a "higher-level library" than the STL or > the Ada > standard library? In the STL you say: > > map_t m; > //... > m[k] = e; > m.erase(k); > > and in Ada you say: > > M : Map; > begin > --... > M.Include (K, E); > M.Exclude (K); It's the interface. i.E. The STL cursors tries to mimic the C pointer behavior. Pointer arithmetic is low-level in my eyes. The OCL rather tries to mimic a simple database. And databases are more high level then pointers in my eyes. > How much more high-level can a library be? Considering your description > of the OCL (given in another post), did you really mean that it's more > low-level? That depends where you enter the class Hirachie. If you jump in at the abstract (IA..) or generic (IG...) level then yes you get your hands dirty by low level stuff. But at least you can. Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com