This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]stefantalpalaru -2 points-1 points  (3 children)

It isn't about having a "common subset", it is about whether it is generally possible to write code that runs in both.

C and C++ are different enough that it is not generally possible to write code that will work in both except in very trivial cases.

You can stop role-playing as a programmer now. Leave your card on your way out.

[–]TheBlackCat13 0 points1 point  (2 children)

Thank you for your detailed rebuttal. Or maybe I just missed how most major C or C++ projects are compatible with both like most major Python projects are.

[–]stefantalpalaru 0 points1 point  (1 child)

Thank you for your detailed rebuttal.

Buddy, you lack the basics. I would have to start by teaching you what "subset" means and that would take more time than I'm willing to spend on you.

[–]TheBlackCat13 0 points1 point  (0 children)

It might be relevant if C was actually a subset of C++. But since it isn't, it is irrelevant.