Re: [dev] [OT] What's wrong with C++?

From: David Tweed <david.tweed_AT_gmail.com>
Date: Sat, 11 Sep 2010 22:58:19 +0100

On Sat, Sep 11, 2010 at 10:40 AM, Paolo <lordkrandel_AT_gmail.com> wrote:
>>> Why program in C++ when you can do it in C, making the program simpler and better?
> When you can't make the program simpler and better, or you need to do it faster
> than you do in C, just write C++ or whatever.
>
> This is just the place where people write about C, little overheads and simpler programs.

The point I was making was just that there are SOME problem domains
where the features C provides fit what's needed and the C++ features
aren't useful, in which case C will be simpler and better. And it's
great to use it in those cases. But there are SOME other problem
domains where some of the features C++ provides that aren't in C are
incredibly useful in writing really clean, maintainable and more
efficient code, and as such I don't think that a blanket statement
"Why program in C++ when you can do it in C, making the program
simpler and better?" is accurate. Choose the language that's best for
the particular problem you're solving at the time is all I was saying.

-- 
cheers, dave tweed__________________________
computer vision reasearcher: david.tweed_AT_gmail.com
"while having code so boring anyone can maintain it, use Python." --
attempted insult seen on slashdot
Received on Sat Sep 11 2010 - 23:58:19 CEST

This archive was generated by hypermail 2.2.0 : Sun Sep 12 2010 - 00:00:05 CEST