How do you teach yourself how to program/code?
Hoot! You just asked your first question! Hang tight while I find people to answer it for you. You can thank people who give you good answers by clicking the 'Good Answer' button on the right!
There's a lot of ways to teach yourself to code. There are a ton of books on the subject as well as some helpful websites. The best way to do it, though, is to just... start. Download a compiler or development environment, like Microsoft Visual C++ Express 2010. Then follow an online tutorial to build your first program. You can teach yourself step by step from there.
Thanks. do u recommend any specific websites or books?
Learn from a teacher. Teaching yourself is way too difficult.
Hi! I think the BEST site is www.stackoverflow.com. The site has all answer to need all Language.
First you need to work out what language you want to learn, and why... are you want to make websites or software... for example. 2 popular ones are Python in MIT OCW Intro to CS and Java in Stanford's Programming MEthodology also many more which I haven't had anything to do with. I do recommend, however, one of the CS Intro type courses because they give you a better intro in programming concepts, not just telling you how to do it...
Before you begin teaching yourself how to program I would recommend finding a good compiler or integrated development environment (IDE) as from my own experiences nothing is more frustrating than trying to learn to program when you can't even get the code to compile or run. If you have a friend who knows how to do this I would have them show you how. This is a simple process but is fairly confusing to figure out the first time. Eclipse is a good one for Java or gcc for C on linux (I wouldn't recommend starting with visual basic. It's a great program but it has more bells and whistles than you will need for a long time) or learning on the python interpreter isn't a bad idea either. After you have this task accomplished there's quite a few resources online. Find one that you like and stick with it. Try not to jump around to many different sources until you understand at-least the basics since each resource will probably go about doing things in a different way which may be confusing. The lectures on http://academicearth.org/ are a really good resource. Beginner level books are usually pretty good too. Online resources guides tend to be aimed at higher level people but there are some out there that are pretty good such as this http://mislav.uniqpath.com/poignant-guide/ for ruby which is what I used when I first learned how to program.
the best and easiest programming language to learn is C. As bschaffer13 has said u need a compiler and IDE. A very good resource site is http://www.cprogramming.com/
I think the best introduction to programming is Scratch. They have great resources on the website scratch.mit.edu. Understanding the concepts is the best way to start. Scratch is a very graphical view of programming, which I enjoyed before diving into pure text code.
I learn alot by simply messing up :)
You teach yourself how to code the same way you teach yourself how to do maths. Doing it. So, get a book or any other resource on the language or want to learn, get the right tools like our colleagues already said, and... code =D
Check out http://see.stanford.edu click on the courses tab and take a look at CS106A. The course materials include Eclipse for an IDE.
Join our real-time social learning platform and learn together with your friends!