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

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.

anthk|3 years ago

Ironically your comment it's the ignorant one. Try compiling a large C codebase with g++.