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,703c4f68db81387d X-Google-Thread: 109fba,703c4f68db81387d X-Google-Thread: 115aec,703c4f68db81387d X-Google-Thread: f43e6,703c4f68db81387d X-Google-Attributes: gid103376,gid109fba,gid115aec,gidf43e6,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!newscon02.news.prodigy.com!prodigy.net!newsmst01a.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr21.news.prodigy.com.POSTED!4988f22a!not-for-mail From: Newsgroups: comp.lang.ada,comp.lang.c++,comp.realtime,comp.software-eng References: <4229bad9$0$1019$afc38c87@news.optusnet.com.au> <1110032222.447846.167060@g14g2000cwa.googlegroups.com> <871xau9nlh.fsf@insalien.org> <3SjWd.103128$Vf.3969241@news000.worldonline.dk> <87r7iu85lf.fsf@insalien.org> <1110052142.832650@athnrd02> <1110284070.410136.205090@o13g2000cwo.googlegroups.com> <395uqaF5rhu2mU1@individual.net> <1110329098.642196@athnrd02> <1110361741.551255@athnrd02> <422edaec$0$26554$9b4e6d93@newsread4.arcor-online.net> <1111464133.508323@athnrd02> <1111508368.393411.6450@z14g2000cwz.googlegroups.com> <1111522653.164049@athnrd02> Subject: Re: Teaching new tricks to an old dog (C++ -->Ada) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Message-ID: <9Gi0e.815$FN4.52@newssvr21.news.prodigy.com> NNTP-Posting-Host: 69.109.140.20 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr21.news.prodigy.com 1111602949 ST000 69.109.140.20 (Wed, 23 Mar 2005 13:35:49 EST) NNTP-Posting-Date: Wed, 23 Mar 2005 13:35:49 EST Organization: SBC http://yahoo.sbc.com X-UserInfo1: TSUGW^WETZSMB_DX]BCBNWX@RJ_XPDLMN@GZ_GYO^BTJUZ]CDVW[AKK[J\]^HVKHG^EWZHBLO^[\NH_AZFWGN^\DHNVMX_DHHX[FSQKBOTS@@BP^]C@RHS_AGDDC[AJM_T[GZNRNZAY]GNCPBDYKOLK^_CZFWPGHZIXW@C[AFKBBQS@E@DAZ]VDFUNTQQ]FN Date: Wed, 23 Mar 2005 18:35:49 GMT Xref: g2news1.google.com comp.lang.ada:9813 comp.lang.c++:46875 comp.realtime:1622 comp.software-eng:5224 Date: 2005-03-23T18:35:49+00:00 List-Id: "Ioannis Vranos" wrote in message news:1111522653.164049@athnrd02... > > In other words it does not make much sense to have signed indexes. > Otherwise it is easy and possible. > 1. Signed indices are extremely valuable when doing certain kinds of mathematical modeling. 2. Your example did not use "straight" C++. Instead, you relied on the Vector template. Doing the same thing, in Ada, we could have multiplied the power of this problem even more. 3. I have so often encountered the question, "But why would you want to do that? in my career, that I am still amazed when I hear it yet again. Regarding number 3, I wish Ada had a good model of multiple inheritance. I don't mean the somewhat haphazard model of C++, but rather something like the multiple inheritance of Eiffel. When someone asks me, wrt multiple inheritance, "But why would you want to that? it drives me a little crazy. There are lots of good uses for multiple inheritance. However, there are also lots of dangers in it. Ada correctly comes down on the side of safety, but I do sometimes wish it were available. Richard Riehle