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,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!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: "Chuck" Newsgroups: comp.lang.ada Subject: Re: What's wrong with C++? Date: Sat, 19 Feb 2011 22:41:46 -0600 Organization: A noiseless patient Spider Message-ID: References: <1ee1a434-4048-48f6-9f5e-d8126bebb808@r19g2000prm.googlegroups.com> Injection-Date: Sun, 20 Feb 2011 04:41:45 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="Nvo31E/p3EKlT4bDI5+9FA"; logging-data="19326"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19APGbcGN5qJudPiteRJ4z6" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-RFC2646: Format=Flowed; Original X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 Cancel-Lock: sha1:b1kaf1AZG1XSZ3jmK+erMX+1izg= X-Priority: 3 X-MSMail-Priority: Normal Xref: g2news2.google.com comp.lang.ada:18443 Date: 2011-02-19T22:41:46-06:00 List-Id: 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.