c++ vs c#

Hello,
This might be verboten, however, for someone that is wanting to start in with a programming language, I would rather choose a language that has an expected long life. Is c# the next iteration in the c saga? Or a branch of c?
No C#is not the next iteration of the C language. It's more Microsoft's derivative from C. I think it's fair to say that C# is influenced by C++.

Programming languages generally have pretty long lifespans. C# is relatively new (it appeared around 2001). C++ has been going since '83. Older languages like COBOL still have their uses and that's been going since 1959.

A better question would be what do you want to program? Windows applications? Web technologies? Mobile apps? Games?
C# is Microsoft's copy of Java. C++ will likely out-live it. Lifespan of the language isn't something that should influence decisions on what to learn, though. They'll both be around long enough to make learning them worth while.
I would definitely go with C++ because it's Cross-platform, and compatible with 90% of the operating systems available in the world. C# is just compatible with Windows.
Not really, C# can be used outside of Windows as well. Quite a few popular non-Windows applications are written in C# (Banshee, Tomboy, Bless, F-Spot, ...).
Still, C++ is far more portable. You can run C++ programs on your washing machine, but you probably won't be able to run C# programs.
Last edited on
closed account (o1vk4iN6)
C# is Microsoft's copy of Java. C++ will likely out-live it. Lifespan of the language isn't something that should influence decisions on what to learn, though. They'll both be around long enough to make learning them worth while.


Yet it's nothing like Java, praise the lord.

Just because it has similar design choices as another language doesn't make it a copy. C# has a boat load more features than Java and a lot more flexibility. That being said Java runs on everything, although because of that quality of programs suffer.
thanks for all the responses,
c++ it is
Topic archived. No new replies allowed.