+ 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?
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