D-

Xinok xinok at live.com
Fri Feb 10 19:22:23 PST 2012


On 2/10/2012 8:13 PM, Tim Krimm wrote:
>> If you make a subset of D, it would most likely be named Mini-D. But
>> at that point you've got an enhanced C without going C++.
>
> Yes and that probably would be better than what I have now.
>
> Going back and forth programming in C/C++ today,
> and then switching back to D tomorrow.
>
> Let me see if I remember again,
> classes and structures are almost the same in C++
> but different in D.
>
> Well I did the assignment A=B, if I change A will it also change B,
> or is B a copy of A.
> Is A a class or a structure that is an important distinction in D.
>
> Today, Oh crap I forgot the #include
> Tomorrow, Oh crap I forgot the import
>
> Oh crap what was that syntax for initializing the class variables again.

That hardly seems like a good enough reason to create a second language. 
The community has enough to work on from the standard library to 
squashing bugs to writing literature and much more.

I think a more practical idea would be to write a utility which 
translates a subset of D's features to equivalent C code.


More information about the Digitalmars-d mailing list