3 ms·
I wouldn't call them "fully separate". Mixed C/C++ codebases are still fairly common, which works as long as the interface between them is in C.
by TorKlingberg 10y ago
I wouldn't call them "fully separate". Mixed C/C++ codebases are still fairly common, which works as long as the interface between them is in C.
- astrodust 10y agoMixed C, Objective C and C++ code-bases are still fairly common. That's not to say they're the same language.
- umanwizard 10y agoWell, your argument doesn't really prove anything, as Obj-C is actually much closer to C than C++ is.
- w8rbt 10y agoThey have separate ISO standards. IMO, this makes them fully separate. C - ISO/IEC 9899:2011 C++ - ISO/IEC 14882:2014
- AnimalMuppet 10y agoBut the standards have made some effort at avoiding gratuitous incompatibility, and have even introduced changes to reflect changes in the other standard. Also, much C code is still valid C++. Sure, you can write code that isn't, but I would guess (pulls a number out of nowhere) that 90% of the valid C code is also valid C++. That makes them languages that have separate standards, but not completely independent standards, that share a whole lot of source code. That's something less than fully separate in my book.
- deleted 10y ago[deleted]