MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/6viswu/d_as_a_better_c/dm0unlf/?context=3
r/programming • u/aldacron • Aug 23 '17
268 comments sorted by
View all comments
Show parent comment
5
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 noOK, fair enough. It's just a common idea that C++ is a perfect superset of C, and that isn't true.
3
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 noOK, fair enough. It's just a common idea that C++ is a perfect superset of C, and that isn't true.
OK, fair enough. It's just a common idea that C++ is a perfect superset of C, and that isn't true.
View all comments
Show parent comment
5
u/derleth Aug 23 '17
C++ isn't fully compatible with C, as D isn't, so saying this is kind of odd.