C++ or C#?

Started by
13 comments, last by Zahlman 17 years ago
Hello all, I am currently in school for games and simulations at Devry University. I have been advised that I should learn C# as that is the direction games will take by the time I have graduated. No, disrespect to the academic advisors there, but I wanted an answer to this question from people in the industry. Should I focus on learning C# or C++? Thanks in advance for all your advice.
Advertisement
If you're serious about entering the game industry, learn c++. It'll be used by the game industry for a long while yet. And if you already know c++, c# is extremely easy to pick up.
C++ or C#?

C# is a better language for learning of the two, with a cleaner, easier, syntax and programming style (which does not equate to "underpowered").

Focus on learning how to program, not on learning a language (once you know how to program, it is easy to transfer that skill to other languages). C++ is not an easy language given its nature, and I feel that that would hinder you (hence many beginners starting with BASIC, Logo and so on).

[Website] [+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++]

I have a solid grasp of the programming process. I have studied C++ and BASIC on my own. I have taken introductory C++, BASIC, and C# classes in college. I think I have enough understadning of programming concepts to move on. It is just the direction I am uncertain of. Most of the programming threads I see talk about C++, very few on C#. I jst don't want to go down the road mastering one language only to find it to be a dead end.
I agree with gharen2

If you want to work in the Game industry you should focus on C++
C# right now is only really use for creating tools in the industry

plus if you learn C++ first you can pick up C# on your own in a couple of weeks
Black CloakEpee Engine.
I agree with everyone else. If you're not planning to enter the professional industry, C# is the best choice.
There is, then, no reason to study and work with both. Between my work and my own projects I'm currently using 6 different languages.

If going by blackcloak's rule ("C++ for games, C# for tools") you could, for example, work on a game project in C++ and write the tools in C#.

[Website] [+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++]

I think it'd be foolish to neglect either one. Study both as both are and will very likely still be used in the industry by the time you graduate.
C# in my opinion will be the future of programing, even game programing. Why? Because it is faster to code using C# and you don't have to worry about memory leaks.

As the computer power continues to increase the small performace increase you get from using C++ over C#, will not matter as much as the time it will take to create a C++ app over a C# app.

So I would suggest focus on C# because by the time you get out of school more people will be looking for C# and less looking for C++.

Now this is just my opinion and other's opinions may vary.
theTroll
Quote:Original post by gharen2
If you're serious about entering the game industry, learn c++.


I would suggest starting with a simple, non-idiosyncratic language, such as C# or Python, then moving on to C++, then learning a functional programming language (OCaml, Haskell, Scheme), then learning C and assembly.

The first language you learn does not matter in the game industry. Mine was Hypertalk, if anyone is interested, and it didn't prevent me from landing a C++ game programming job by the time I knew C, C++, PHP, Java and Caml as well. What actually matters, when looking for any programming job, is which five or six main languages you can use fluently, along with the other five or six languages you can read without effort.

So, I guess you should learn both, preferably starting with C#, and three or four other languages as well.

This topic is closed to new replies.

Advertisement