Linked by Thom Holwerda on Mon 13th Aug 2007 17:57 UTC
General Development "A good programming language is far more than a simple collection of features. My ideal is to provide a set of facilities that smoothly work together to support design and programming styles of a generality beyond my imagination. Here, I briefly outline rules of thumb (guidelines, principles) that are being applied in the design of C++0x. Then, I present the state of the standards process (we are aiming for C++09) and give examples of a few of the proposals such as concepts, generalized initialization, being considered in the ISO C++ standards committee. Since there are far more proposals than could be presented in an hour, I'll take questions." Dr. Bjarne Stroustrup is the original designer and implementer of the C++ Programming Language.
Thread beginning with comment 263320
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: D is a worthy successor to C++
by falemagn on Tue 14th Aug 2007 08:20 UTC in reply to "D is a worthy successor to C++"
falemagn
Member since:
2005-07-06

Pfeifer,

you have Object orientation in C++ too, you can have garbage collection, you have generics (templates), you can have foreach**.

In short, all you've listed from D is available in C++ as well. Tell me again why should I use D?

** http://www.boost.org/doc/html/foreach.html

Edited 2007-08-14 08:26

Reply Parent Score: 1

Pfeifer Member since:
2006-02-20

falemagn,

all those things (with the exception of object-orientation) are not part of the C++ core. Some of the features I mentioned are available for C++, yes. But only through hacks, not as a coherent part of the language.

Maybe I didn't make it very clear in my first post; I don't like C++ because it consists of four (five if you need IDL) different programming languages, all forced together with a big roll of duct tape.

Providing core features of a programming language through third-party "addons" is not going to help. Even Stroustrup realizes this and tries to push C++ forward (see tfa).

D gives you binary compatibility to C (and thus access to all your old C libraries), gives you real interface definitions, includes (optional) garbage collection, a versatile collection iterator, generics/templates, all roled into one coherent language, one concept.

But D is ready. C++09 will arrive 2009. Why wait when you can have D now?

Reply Parent Score: 2

falemagn Member since:
2005-07-06

"all those things (with the exception of object-orientation) are not part of the C++ core. Some of the features I mentioned are available for C++, yes. But only through hacks, not as a coherent part of the language."


They are not part of "the core" because they don't need to be part of the core: as shown, they can be implemented in libraries. That's not an hack, that's how it's supposed to be.

If you want those features, just use them, no one is stopping you: they're already implemented, tested and well working.

Reply Parent Score: 1