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-Attributes: gid103376,gid109fba,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!newsfeed2.telusplanet.net!newsfeed.telus.net!edtnps89.POSTED!53ab2750!not-for-mail From: Owen Jacobson Subject: Re: Teaching new tricks to an old dog (C++ -->Ada) User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table) Message-Id: Newsgroups: comp.lang.ada,comp.lang.c++ 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> <1111611723.490897@athnrd02> Followup-To: comp.lang.c++,comp.lang.ada MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: Sat, 26 Mar 2005 22:56:22 GMT NNTP-Posting-Host: 64.180.165.76 X-Trace: edtnps89 1111877782 64.180.165.76 (Sat, 26 Mar 2005 15:56:22 MST) NNTP-Posting-Date: Sat, 26 Mar 2005 15:56:22 MST Xref: g2news1.google.com comp.lang.ada:10033 comp.lang.c++:47375 Date: 2005-03-26T22:56:22+00:00 List-Id: On Thu, 24 Mar 2005 00:01:20 +0000, adaworks wrote: > I am suggesting that the code will be less-than obvious to many C++ > programmers. Certainly, after careful study, the experienced C++ > programmer might be able to read your example, but there is room for > misinterpretation unless one is supplied a fair amount of documentation. I haven't read this entire thread, but I just paged back up to your Ada example and read both it and Ioannis' C++ example. I'm a C++ developer by trade, and don't know Ada, but, yes, the Ada example was extremely readable. So was the C++ example: the intent of both programs was immediately clear. This doesn't mean either example is inherently clear, just that a random passer-by found both of them to be clear.