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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ab1d177a5a26577d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!ecngs!feeder.ecngs.de!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 20 Feb 2011 04:26:10 -0600 From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: What's wrong with C++? Date: Sun, 20 Feb 2011 10:28:58 +0000 Reply-To: brian@shapes.demon.co.uk Message-ID: <95r1m6lql416egqg64b5fo8e0hee4mue0s@4ax.com> References: <1ee1a434-4048-48f6-9f5e-d8126bebb808@r19g2000prm.googlegroups.com> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Usenet-Provider: http://www.giganews.com X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-UbhWVH01lPZsCvi83LBxxU4msLhUVqX75APhE+u8pqw/MBn1438D3sdQk7398rNvdFmBnUIShut5ezU!CTQ7gI+CqWKdbcLYoeyfNiTcdWMWUhxwtNGj9s74tL7TP9VQq9ScKHDWE7fjlRq9ZKcoyl71/599!UzY= X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com 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.40 X-Original-Bytes: 2335 Xref: g2news2.google.com comp.lang.ada:18448 Date: 2011-02-20T10:28:58+00:00 List-Id: On Sat, 19 Feb 2011 22:41:46 -0600, "Chuck" wrote: >KK6GM wrote: >> This is a serious question, seeking objective information. I've >> worked with C for many years and I have a very good understanding of >> its weaknesses, which are many. I haven't done nearly so much C++, >> and what I have done was not very intensive (didn't use a great many >> C+ + features), so I don't have a good understanding of its >> weaknesses. >> >> So, without turning into a bash-fest, what are some general-consensus >> weaknesses or failures or problems with C++? Comparisons with Ada are >> welcome but not required. And my focus is in the embedded & real-time >> arenas, FWIW. > >What wrong with C++? It may be better to ask what is wrong with the other >2! Anyway, the list of what is right with C++ is much, much shorter, so >by process of elimination, what is not on the good list, is on the bad >list. Here's my list of good things: > > Uses curly-braces, mostly effectively. > >I'll add to this list as I think of any more things. Demolishes the argument that Ada is too complex for anyone to learn? - Brian