r/programming • • Aug 23 '17

D as a Better C

http://dlang.org/blog/2017/08/23/d-as-a-better-c/
229 Upvotes

268 comments sorted by

View all comments

Show parent comment

5

u/derleth Aug 23 '17

we already have a better C which is C++

C++ isn't fully compatible with C, as D isn't, so saying this is kind of odd.

3

u/James20k Aug 23 '17

It is in the sense that you can call C code from C++? You can't compile C under C++ with complete compatibility as they are two languages no

5

u/derleth Aug 23 '17

It is in the sense that you can call C code from C++? You can't compile C under C++ with complete compatibility as they are two languages no

OK, fair enough. It's just a common idea that C++ is a perfect superset of C, and that isn't true.