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=-0.9 required=5.0 tests=BAYES_00,YOU_INHERIT autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5af5c381381ac5a7 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news3.google.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!192.87.166.28.MISMATCH!tudelft.nl!txtfeed1.tudelft.nl!feed.xsnews.nl!border-1.ams.xsnews.nl!193.190.198.58.MISMATCH!aotearoa.belnet.be!news.belnet.be!news.net.uni-c.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Newsgroups: comp.lang.ada Subject: Re: Ada requires too much typing! References: Date: Sun, 06 Jun 2010 10:55:58 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Martin Krischik" Organization: Martin Krischik, Softwareentwicklung Message-ID: User-Agent: Opera Mail/10.53 (MacIntel) NNTP-Posting-Host: 89.236.175.138 X-Trace: news.sunsite.dk DXC=_LoIChXNPCf`;IS0i7S8TaYSB=nbEKnkkTL\TU_9UQmnIDiY_4:UK?cd3Nai^>E:QM5d2e^5VLiC>9fC0M59>AS4ob X-Complaints-To: staff@sunsite.dk Xref: g2news2.google.com comp.lang.ada:12315 Date: 2010-06-06T10:55:58+02:00 List-Id: Hi Luis, Am 01.06.2010, 23:30 Uhr, schrieb Luis Espinal : > Some people still think this is still a better trade-off over C++ styled > multiple inheritance because of the dreaded "diamond" problem. which is easily solved by marking classes virtual. One should just make a habit of defining classes like this: virtual Base { public: virtual ~Base () { … } } And suddenly all your virtual inheritance needs work flawlessly. There are just too many C++ programmers out there who do not know that. > That's a lot of manual shamanism that should be better dealt with > syntactically. As I mentioned before: true Shamans (yes they still exists, mostly Siberia) work a lot with poisonousness substances. If they make a mistake then either they or there customers end up dead. Comparing computer science with shamans is an insult to the professional work of shamans. Martin -- Martin Krischik mailto://krischik@users.sourceforge.net https://sourceforge.net/users/krischik