+ 2

C++ vs C#

Which one is the better language for new projects? C# is the first ever programming language that I have been taught. I don’t know much history about these 2 languages but I thought that C++ was the older language and C# was supposed to be it’s successor?? I just thought that the only reason why C++ is useful is because a lot of software used today was created on C++ so it needs C++ developers to update the software. But now I’m seeing people create new projects using C++. Wouldn’t C# be the better choice?

23rd Nov 2017, 2:24 AM
Dynamical - Odino.uk
Dynamical - Odino.uk - avatar
1 Answer
+ 15
c# is more closely related to Java than c/c++. c++ is an update/extension to c. (c with objects) c# was designed by Microsoft and is very much geared towards that platform. it can be used lots of places now though. c++ is fast and highly portable. more so than c# at any rate. At the end of the day the choice of language is largely dictated by the project requirements. We should use what best suits the problem https://en.m.wikipedia.org/wiki/C_Sharp_(programming_language) https://en.m.wikipedia.org/wiki/C%2B%2B
23rd Nov 2017, 2:32 AM
jay
jay - avatar