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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6b6619eb9cada212 X-Google-Attributes: gid103376,public From: Robert A Duff Subject: Re: Help me to chose between ADA 95 and C++ Date: 1999/12/15 Message-ID: #1/1 X-Deja-AN: 560956823 Sender: bobduff@world.std.com (Robert A Duff) References: <01bf37fb$a91afb60$0564a8c0@IS-D2D04C.test> <829rbv$a8m$1@nntp6.atl.mindspring.net> <01bf3e32$0b9dc880$022a6282@dieppe> <385112AE.7E2CFA9@rdel.co.uk> <833d8i$sjf$1@nntp5.atl.mindspring.net> <38566835.B4A2D48@rdel.co.uk> <1999Dec14.143953.1@eisner> Organization: The World Public Access UNIX, Brookline, MA Newsgroups: comp.lang.ada Date: 1999-12-15T00:00:00+00:00 List-Id: kilgallen@eisner.decus.org (Larry Kilgallen) writes: > If conversions get that numerous, it is a sign of bad design. I don't agree. If you have: type A1 is access all T1'Class; type A2 is access all T2'Class; where "T2 is new T1 with ...", then it is perfectly natural to want to convert from A2 to A1. It is not a sign of bad design at all. But Ada requires an explicit type conversion in this case, which is a flaw in Ada. This one flaw is not enough to make me switch to C++, though. > One can code Fortran in any language. Coding C in Ada is much > worse than coding C in C. - Bob