How to get started
From DmWiki
You have decided that programming sounds like an interesting hobby or career for you, and now need further guidance about how to enter into this mystical world of computers. Here is some help to take you further, to point of beginning to program.
| Table of contents |
A short introduction to programming
A programmer's job is to simply give the computer a list of instructions. But because a computer has no intelligence (it is just a larger version of a pocket calculator) the instructions must be incredibly precise. Enough theory however! The best way to see if you like programming is to try a bit. And if you do, then just keep trying more things and you will quickly pick up the language. And once you are comfortable in one language, you can try another. This brings up the question however,
Which language should I use?
Just as there are many spoken languages, there are a plethora of different languages you can use to program computers. Each language has advantages and disadvantages which make it suit a particular job. For games programming C, C++, C# and Python are particularly popular, although do not let that stop you from trying others. When just starting out the choice of books in your library or what languages those you know have learned are good enough factors to determine what to learn.
You may want to have a look at this comparison of many different languages for game development.
Trying the language
Once a language has been chosen, you need the tools to try it. You basically need a compiler for the given language. To get setup, refer to Development setups.
Learning
Once you have found a language you like, you need to get well aquainted with it. Books are good for this, as is the internet. You will also want to learn some APIs such as and so that you can create graphics on the screen and interact with the user. This all takes time, but is very worthwhile - and good for your CV as well.
As an aid to study, you might want to consult this list of exercises for game programmers. Tutorials are also great for getting you onto your feet.
As you learn more you will find different areas that you particularly enjoy, and that play to your strengths. Some programmers have a taste for physical simulation libraries, while others like writing desktop applications. It's all up to you - but try to stretch yourself with new challenges.
Categories: Beginners | OpenGL | DirectX
