I've been trying to learn C# for the past few days and I'm getting confused constantly.
I know very little Python so I guess you could consider this is my first programming language. I had no troubles while learning what I have about Python, but Python isn't the language I want to learn. I prefer to learn C# and use Visual Studio for creating apps and small games through XNA. My problem though is focusing on the tutorials and such that I'm reading. This is what I'm using to learn: http://www.csharp-st...s/Lesson01.aspx
All this talk about methods and parameters... It's somewhat confusing... Do things just start to "make sense" later on when learning a programming language? Do any of you have any advice for someone trying to become a programmer? Any advice on learning in general? Just please don't suggest continuing Python, I've already made up my mind on learning C#.
I just feel as though I'm not smart enough to learn this...
What do you do to help yourself learn?
Débuté par
Ryu-Eji
, oct. 28 2009 02:28
#1
Posté 28 octobre 2009 - 02:28
#2
Posté 28 octobre 2009 - 02:33
#3
Posté 28 octobre 2009 - 03:20
Try to start off with the basics and work your way up. Methods and parameters might be a tad too soon to worry about. First, you should get used to using basic things like variables, ifs and elses, loops.
If you have any questions, feel free to send me a message sometime.
If you have any questions, feel free to send me a message sometime.
#4
Posté 28 octobre 2009 - 03:24
Eh I never took any computer classes and such, all I know today is due to my own experiments. Of course with some failures but you can't expect none if you experiment!
Anyway what I do is as mentioned in the post above: Work your way up. Don't stop untill you're sure that you understand every aspect of the level you're on. You might mess up and end up at a crucial point in the next level and since you didn't get it all quite right you'll get stuck...been there done that.
Anyway what I do is as mentioned in the post above: Work your way up. Don't stop untill you're sure that you understand every aspect of the level you're on. You might mess up and end up at a crucial point in the next level and since you didn't get it all quite right you'll get stuck...been there done that.
#5
Posté 28 octobre 2009 - 03:34
Be patient. It can take a lot of time to learn a programming language (not to mention a new development environment, and, in the case of XNA, an entire API). Skip over the non-basic stuff at first. C# is, thankfully, not as overwhelming as C++ for example, but it is still a very deep language, especially when adding in the esoterics.
Since you are familier with Python, find some commonality between them. Try taking a very simple Python program, and port it over to C#. Reading can only get you so far; programming is a skill that needs practice, practice, and more practice (and a fair bit of experimentation, too).
Try poking around the forums over at Gamedev.net for specific questions. You can search and lurk in the forums without an account, but the people there are generally helpful to beginners.
And good luck! C# is, IMO, very fun to program in, and definately worth learning.
Since you are familier with Python, find some commonality between them. Try taking a very simple Python program, and port it over to C#. Reading can only get you so far; programming is a skill that needs practice, practice, and more practice (and a fair bit of experimentation, too).
Try poking around the forums over at Gamedev.net for specific questions. You can search and lurk in the forums without an account, but the people there are generally helpful to beginners.
And good luck! C# is, IMO, very fun to program in, and definately worth learning.
#6
Posté 28 octobre 2009 - 03:34
I tried once in NWN working on a mod and copying codes and stuff took me three days to set up an event where if you were running near and old woman with your weapon out you would trip and fall and she would berate you for running with something sharp in your hand. I t was at that point i realized it would take me about six years to make the small mod I was working on and decided to leve that stuff up to people with more available gray matter than I.
#7
Posté 28 octobre 2009 - 04:04
Thank you all for both the advice and the encouragement. I'll keep at it and experiment more to try to understand what I'm being taught. As for Python, I didn't think to compare it to C# in order to better understand the language, thanks for the tip. I've definitely noticed a few similarities between the two languages.
#8
Posté 28 octobre 2009 - 07:45
I did a tutorial in NWN and since then I suddenly just had my mind explode and suddenly I know how to program in all C-like languages as well as JavaScript-like languages.
I can even do PHP and I never formally learned PHP.
It was like a revelation. Just work with a couple of spells, know what they do, try changing small things, witness the work of thee almighty.
And then be humbled by people still better than you.
I can even do PHP and I never formally learned PHP.
It was like a revelation. Just work with a couple of spells, know what they do, try changing small things, witness the work of thee almighty.
And then be humbled by people still better than you.
#9
Posté 28 octobre 2009 - 12:21
Ryu-Eji wrote...
All this talk about methods and parameters... It's somewhat confusing... Do things just start to "make sense" later on when learning a programming language?
Yes, definitely.
Do any of you have any advice for someone trying to become a programmer? Any advice on learning in general?
Take it in smaller dosages. Let the knowledge "sink in" gradually.
I just feel as though I'm not smart enough to learn this...
It's the tutorials, trust me.
#10
Posté 28 octobre 2009 - 01:09
Having someone who knows how to do it show you helps too. But as many already recommended, small bits at a time is the best. That's how I learnt. Work out simple project first. Even if to just create a tic-tac-toe game..




Ce sujet est fermé
Retour en haut







