Bartosz about Chapel

Timon Gehr timon.gehr at gmx.ch
Sat Nov 12 15:01:28 PST 2011


On 11/12/2011 09:05 PM, Somedude wrote:
> 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.

Ok, I see. Probably we are missing a nice tutorial about the type 
qualifiers (const/immutable/shared/inout) ?

Or is there another type system feature that takes a while to grok?

>
>>> 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.

Oh, yes it is quite big. But I don't think it is very complex.


More information about the Digitalmars-d mailing list