top | item 34237098 (no title) scombridae | 3 years ago It's hard to imagine a C programmer so professionally ignorant that he's yet to realize C++ is a superset of C. discuss order hn newest lowbloodsugar|3 years ago >It's hard to imagine a C programmer so professionally ignorant that he's yet to realize C++ is a superset of C.Ooof. restrict keyword enters the chat. C and C++ are two languages that evolve together, but one is not a superset of the other. MobiusHorizons|3 years ago I see this comment a lot, but it's not true (at least not any more). Many valid C programs do not compile through the C++ compiler. The standards for C++ and C have deviated over the years. stan680|3 years ago lots of good examples of why this is wrong here: https://floooh.github.io/2019/09/27/modern-c-for-cpp-peeps.h... anthk|3 years ago Ironically your comment it's the ignorant one. Try compiling a large C codebase with g++. unknown|3 years ago [deleted]
lowbloodsugar|3 years ago >It's hard to imagine a C programmer so professionally ignorant that he's yet to realize C++ is a superset of C.Ooof. restrict keyword enters the chat. C and C++ are two languages that evolve together, but one is not a superset of the other.
MobiusHorizons|3 years ago I see this comment a lot, but it's not true (at least not any more). Many valid C programs do not compile through the C++ compiler. The standards for C++ and C have deviated over the years.
stan680|3 years ago lots of good examples of why this is wrong here: https://floooh.github.io/2019/09/27/modern-c-for-cpp-peeps.h...
anthk|3 years ago Ironically your comment it's the ignorant one. Try compiling a large C codebase with g++.
lowbloodsugar|3 years ago
Ooof. restrict keyword enters the chat. C and C++ are two languages that evolve together, but one is not a superset of the other.
MobiusHorizons|3 years ago
stan680|3 years ago
anthk|3 years ago
unknown|3 years ago
[deleted]