▲ | IAmBroom 4 days ago | |
> A pet peeve of mine is when people claim C++ is a superset of C. It really isn't. There's a lot of little nuanced differences that can bite you. > Ignore the fact that having more keywords in C++ precludes the legality of some C code being C++. (`int class;`) Your very first example reverses the definitions of superset and subset. "C++ is a superset of C" implies that C++ will have at least as many, if not more, keywords than C. Other examples make the same mistake. |