16 Replies - 1050 Views - Last Post: 19 January 2012 - 07:05 PM
#1
C# or C++?
Posted 11 December 2011 - 02:18 AM
I don't get much free time due to my work but my desire is to choose a language between C# and C++ and learn the language as best as I can and use it to create games. I did read the thread on here where there are over 100 posts of what members here think is the best language to start with, but that thread has so many languages I've never even heard of. I'm only interested in the commonly used C# and C++ languages. What do you experienced programmers think is the best for a beginner like me to side with? C# which can be easier on newcomers and when it errors, shows you a more solid message of where the problem lies. Or task my brain cells with C++ and also learn the skills of trying to formulate where the problem is, how to fix it etc?
When I look and read books of both languages, while the codes are different, they kinda seem the same to me. What I mean by that is, I understand when looking at the codes that they are doing the same thing. They are a language that is written to tell the software what to show, what to do, how to react, etc etc. Just like we use english, that is a language in itself.
So what do you all think is the best one for a beginner desiring to slowly begin learning to develop games should pick up? C++ or C#? I was leaning more towards C# and possibly using Unity3D and learning that too. But was wondering what the experienced folk thought on here too.
Replies To: C# or C++?
#2
Re: C# or C++?
Posted 11 December 2011 - 02:48 AM
#3
Re: C# or C++?
Posted 11 December 2011 - 04:25 AM
Windows Phone 7
XNA
Unity3D
Playstation Suite
For iOS and Android you could also use ExEn with XNA.
...just to name a few.
#4
Re: C# or C++?
Posted 11 December 2011 - 06:05 AM
#5
Re: C# or C++?
Posted 18 January 2012 - 01:15 PM
But if you dont want to get in the industry and just want to do it as a hobby then C# + XNA or Unity is the way to go.
just my $0.02
#6
Re: C# or C++?
Posted 18 January 2012 - 02:21 PM
But C++ is a very advanced language with alot of stuff.. So its all up to your opinion really
#7
Re: C# or C++?
Posted 18 January 2012 - 04:15 PM
shanakar, on 11 December 2011 - 09:18 AM, said:
I don't get much free time due to my work but my desire is to choose a language between C# and C++ and learn the language as best as I can and use it to create games. I did read the thread on here where there are over 100 posts of what members here think is the best language to start with, but that thread has so many languages I've never even heard of. I'm only interested in the commonly used C# and C++ languages. What do you experienced programmers think is the best for a beginner like me to side with? C# which can be easier on newcomers and when it errors, shows you a more solid message of where the problem lies. Or task my brain cells with C++ and also learn the skills of trying to formulate where the problem is, how to fix it etc?
When I look and read books of both languages, while the codes are different, they kinda seem the same to me. What I mean by that is, I understand when looking at the codes that they are doing the same thing. They are a language that is written to tell the software what to show, what to do, how to react, etc etc. Just like we use english, that is a language in itself.
So what do you all think is the best one for a beginner desiring to slowly begin learning to develop games should pick up? C++ or C#? I was leaning more towards C# and possibly using Unity3D and learning that too. But was wondering what the experienced folk thought on here too.
You should be leaning toward the language that you feel you are better at in terms of producing working code with minimal effort.
I would give both languages a try and see which one you like. Granted that C# is easier, but if you are also just as good at C++ why not take that route as well?
#8
Re: C# or C++?
Posted 18 January 2012 - 08:51 PM
Regashi, on 18 January 2012 - 08:15 PM, said:
But if you dont want to get in the industry and just want to do it as a hobby then C# + XNA or Unity is the way to go.
just my $0.02
Do not look at learning any language as "time wasted", it certainly isn't, unless you have some odd brain disorder that limits the amount of facts your brain can store. In which case, programming is probably the wrong profession. I've been at this professionally for about 15 years, and in that time I've learned or used a good dozen languages, not one of which was a waste of my time, even languages that I hated completely taught me tons. Hell, even COBOL that I had to cover back in school gave me a few insights into programming I wouldn't have gotten otherwise.
FYI, you can get into the industry knowing only C#, but it will be a bit of a fight. Frankly newbie game devs ( aka, junior developers/interns ) are expected to know more or less nothing, which is true in most cases. If you have a demonstrated ability to show you can create games, your language skills will mean very little at the start. Besides, if you spent a few years working in C#, moving to C++ won't be nearly as difficult as starting out with C++.
This post has been edited by Serapth: 18 January 2012 - 08:55 PM
#9
Re: C# or C++?
Posted 18 January 2012 - 09:04 PM
Serapth, on 19 January 2012 - 03:51 AM, said:
Not quite! A lot of tools in games are written in C#, as well as asset management code, so that isn't true.
Serapth, on 19 January 2012 - 03:51 AM, said:
WTH, dude?! That isn't true! They are expected to have an understanding of how games are made, coupled with being good programmers. The reason why they are interns is to give them a head start with experience - not because they know nothing.
Serapth, on 19 January 2012 - 03:51 AM, said:
How can you demonstrate you can create games if your language skills don't matter? The language skills have to be good in order to make games! This follows on from my last comment about interns needing to be good programmers and have an idea of how games are made.
Wow.
#10
Re: C# or C++?
Posted 18 January 2012 - 09:32 PM
ButchDean, on 18 January 2012 - 09:04 PM, said:
Serapth, on 19 January 2012 - 03:51 AM, said:
Not quite! A lot of tools in games are written in C#, as well as asset management code, so that isn't true.
Serapth, on 19 January 2012 - 03:51 AM, said:
WTH, dude?! That isn't true! They are expected to have an understanding of how games are made, coupled with being good programmers. The reason why they are interns is to give them a head start with experience - not because they know nothing.
Serapth, on 19 January 2012 - 03:51 AM, said:
How can you demonstrate you can create games if your language skills don't matter? The language skills have to be good in order to make games! This follows on from my last comment about interns needing to be good programmers and have an idea of how games are made.
Wow.
I agree. I wouldn't let anyone on my team if they weren't good at something we needed. And I say this because I am in a position to judge that.
I posted earlier today in a discussion about which language to start off with. It might be useful for you to look into it
#11
Re: C# or C++?
Posted 18 January 2012 - 09:39 PM
This post has been edited by codeofc: 18 January 2012 - 09:40 PM
#12
Re: C# or C++?
Posted 19 January 2012 - 08:01 AM
ButchDean, on 19 January 2012 - 04:04 AM, said:
This is a meta-conversation in itself, but in my experiences -- across many industries, not just gaming, 0 year programmers are hired more for aptitude then any demonstrated ability. Nobody is expected ( at 0 day again ), to drop in and be productive. People are hired on perceived aptitude, at least from my experiences. Now, this is very much not true for experienced positions.
Quote
Let me be more specific, I obviously wasn't specific enough.
If you have a demonstrated ability to show you can create games, your particular language skills will mean very little at the start.
Clearer now?
I am essentially agreeing with you, or at least your comment "interns needing to be good programmers ", that I agree with completely, this is exactly what you hire for. You don't however hire for explicit ability, you hire based on potential. So if someone comes in showing the understand coding, have written a wickedly good game in a non-core language to what your dev house uses, generally that person will be hired. Or at least should be if the person doing the hiring knows their stuff.
In no place I have ever been, has an intern or new grad been hired then thrown right into core coding. Either they get a lower level responsibility as they learn the setting, environment, tools and yes, even learning the language. Or they spend some time learning the code base, be it refactoring, bug hunting, whatever for a period of time.
In my particular case, I was paired with a senior dev and basically given a months orientation as I got to know the stuff I needed. After that I was pretty much handed the current bug list and told to "get at it", which is more or less what I spent the next four months doing. Granted, this was some time ago in an age where scripting was nowhere near as common, so I probably got involved in the core coding much faster then I would expect now. In the process, I realized what I knew about C++, wasn't much and my mentor applauded me on knowing as much as I did. Seriously, you do as much, or more, learning your first year on the job as you do the entire time in University. And I went in with 10 years of hobbyist experience. They simply didn't expect more of me either, again, because new hires were hired on aptitude.
This post has been edited by Serapth: 19 January 2012 - 08:08 AM
#13
Re: C# or C++?
Posted 19 January 2012 - 11:34 AM
Serapth, on 19 January 2012 - 03:01 PM, said:
Again I don't agree. 0 year programmers are also hired on ability, as well as aptitude - hence the requirement in games generally that a game demo be shown to the studio by prospective programmers.
Nobody at any level can be productive from day one.
Serapth, on 19 January 2012 - 03:01 PM, said:
If you have a demonstrated ability to show you can create games, your particular language skills will mean very little at the start.
Clearer now?
Nope. Because the language chosen is actually a big indicator of how well you understand game code architecture. An example being if someone came to me having written a game in PyGame vs. someone who wrote it in C/C++, I would have more confidence in the latter because it demands more understanding.
Serapth, on 19 January 2012 - 03:01 PM, said:
Then you are contradicting yourself if you agree with me. From the gist of what you have said you were indicating that interns and junior programmers come in as 'blank sheets' needing to be mentored to even have a bit of knowledge of the tasks at hand. I'm saying that isn't true.
Serapth, on 19 January 2012 - 03:01 PM, said:
Yep, very true.
Serapth, on 19 January 2012 - 03:01 PM, said:
I was actually never mentored when I started out. I was immediately working with senior programmers, and by work was also reviewed by principal engineers who critiqued it. Within 5 to 6 months I was working on senior-level tasks that were beyond my current job spec. I even had other programmers at my level give me their tasks to resolve.
We all develop at different rates, but I still maintain that no programmer joins the games industry a complete novice - they always come in with something a little bit extra that sets them out from the crowd.
#14
Re: C# or C++?
Posted 19 January 2012 - 05:14 PM
#15
Re: C# or C++?
Posted 19 January 2012 - 06:30 PM
Serapth, on 18 January 2012 - 08:51 PM, said:
Regashi, on 18 January 2012 - 08:15 PM, said:
But if you dont want to get in the industry and just want to do it as a hobby then C# + XNA or Unity is the way to go.
just my $0.02
Do not look at learning any language as "time wasted", it certainly isn't, unless you have some odd brain disorder that limits the amount of facts your brain can store. In which case, programming is probably the wrong profession. I've been at this professionally for about 15 years, and in that time I've learned or used a good dozen languages, not one of which was a waste of my time, even languages that I hated completely taught me tons. Hell, even COBOL that I had to cover back in school gave me a few insights into programming I wouldn't have gotten otherwise.
FYI, you can get into the industry knowing only C#, but it will be a bit of a fight. Frankly newbie game devs ( aka, junior developers/interns ) are expected to know more or less nothing, which is true in most cases. If you have a demonstrated ability to show you can create games, your language skills will mean very little at the start. Besides, if you spent a few years working in C#, moving to C++ won't be nearly as difficult as starting out with C++.
I think "time wasted" was the wrong thing to say. I think "time misused" would have been better, in my only probably. Im only going on facts i know, so i appreciate someone with 15 years experience correcting me on this. I just though most of the game industry's standards where mainly C++ based. But like i said im just going on the facts i have been told, so thanks.
This post has been edited by Regashi: 19 January 2012 - 06:31 PM
|
|

New Topic/Question
Reply




MultiQuote











|