Page 1 of 1

C and C++ are different languages

Posted: Sun Mar 05, 2017 2:17 pm
by chqrlie
Would it be possible to separate C and C++ in the list of computer languages?

C++ has evolved tremendously in the last 2 decades, it has become a distant cousin with less and less in common with its ancestor C. You could introduce 2 new entries in the list, one for C, one for C++ and let the users decide if they like both or one better than the other.

Re: C and C++ are different languages

Posted: Mon May 08, 2017 10:09 pm
by wemiao
I agree, they should be separated.

Re: C and C++ are different languages

Posted: Tue May 09, 2017 10:42 pm
by sjhillier
chqrlie wrote:
Sun Mar 05, 2017 2:17 pm
Would it be possible to separate C and C++ in the list of computer languages?
I think this has been addressed (probably several times) in the "New Preferred Programming Language Requests" Topic. See, for example, this post.

Personally, I don't have a problem with this grouping, C is essentially a (small) subset of C++. For many problems, I'm happy just to use the C subset, but sometimes it's helpful to utilise classes and some of the STL library, so I do genuinely use both.