Le 12/11/2011 17:27, Timon Gehr a écrit :
I tend to believe D is conceptually more complex than C++. Which means
it allows for more expressivity.
What makes you think it is conceptually more complex? Most features that
make D more expressive than C++ are conceptually very simple. And what
is conceptually simple in D is usually also implemented in a simple way
(as opposed to C++).
I think D's type system is more advanced and more detailed than C++ or
as any C derived language. This takes a while to grok. Of course, I
guess at the beginning one can program in D with only a subset of the
language.
But it has far fewer warts and a simpler syntax.
I believe it takes as much time to learn D than to learn C++ (i.e at
least 6 months), but you end up writing more secure and more powerful
code.
I'd claim that nobody fully understands C++. On the other hand, one gets
quite close to fully understanding D in a relatively short time span.
I agree with your claim for C++. Still, D2 is a "big" language.