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,243dc2fb696a49cd X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.megapath.net!news.megapath.net.POSTED!not-for-mail NNTP-Posting-Date: Thu, 23 Sep 2004 17:33:41 -0500 From: "Randy Brukardt" Newsgroups: comp.lang.ada References: Subject: Re: Ada Popularity: Comparison of Ada/Charles with C++ STL (and Perl) Date: Thu, 23 Sep 2004 17:34:51 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Message-ID: NNTP-Posting-Host: 64.32.209.38 X-Trace: sv3-xcO5wVkmZBaxf12WUFkJkydb3D9D0/3Vuegr0llODE06CTMBV0dbaWsog2h8c9C9emufgnrAK2BbgRu!Pu4IgSQ1MLoY/09h7fmQzaZibIOQKFY6kEUUPGp5WCe5zbvGKq0K8e4sqGQi2CSiSSytRHQfxcjA X-Complaints-To: abuse@megapath.net X-DMCA-Complaints-To: abuse@megapath.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.13 Xref: g2news1.google.com comp.lang.ada:4057 Date: 2004-09-23T17:34:51-05:00 List-Id: "Kevin Cline" wrote in message news:e749549b.0409211621.6f3d3723@posting.google.com... > As promised in the Ada popularity thread, I have taken one of the > Charles examples and reimplemented it in C++. I used only the > standard C++ language and libraries. The Ada/CHARLES main program > body is 118 (non-blank) lines of code, plus an additional 40 lines of > instantiations in eight other specification files, for a total of 158 > lines and 9 files. Why were all of the files needed? For a program of this size, I would have nested the specifications in the body. (One possible reason was the old restriction on nesting of tagged type extensions. Ada 2005 has eliminated this restriction, so that particular issue will go away soon.) Randy.