PDF download Download Article
A complete introductory guide to start learning how to code on your computer
PDF download Download Article

Programming is lots of fun and extraordinarily useful. It allows you to be creative while opening up a wide range of new career opportunities. You'll need to choose a coding language to study before taking advantage of all the available online resources. Learning how to code is like learning a language; you'll need to be consistent, disciplined, and open-minded! This wikiHow will show you how to get started on learning computer and software programming.

Things You Should Know

  • Decide which computer language you want to practice first, such as Python, C++, or JavaScript.
  • When learning, consider utilizing online universities, tools, and tutorials.
  • Teach yourself by starting a programming project, reading plenty of books, and trying new approaches.
Part 1
Part 1 of 3:

Choosing a Language

PDF download Download Article
  1. What types of programs do you want to write? Think of your favorite applications and websites, and research the programming languages their developers used to create them. Different languages are used to create different types of programs, so choose a language that is relevant to what you want to do. [1]
    • Computer programming is a set of written instructions that the computer follows. These instructions can be written in several different "languages", or which are simply different ways of organizing the instructions and text.
    • If you decide that a language does not suit your needs, you can always move on to a new language. [2]
  2. . These languages are mainly used for creating standalone computer applications such as games. C and C++ are difficult languages to learn for a beginner, but not impossible. Learning them will give you an in-depth understanding of not only programming, but also of how a computer works. Starting with a C-based language will also be helpful as you start learning other languages, as most programming languages inherit concepts from C and C++. [3]
    Advertisement
  3. Consider Java or JavaScript . These are good languages to learn if you want to code websites (JavaScript) or mobile apps (Java). These languages are very much in demand right now, so they are handy to know. Keep in mind that Java and JavaScript are completely different languages, despite the similarity in names. [4]
  4. Try Python . Python is a very versatile language used widely across several platforms. [5] Despite being extremely powerful, it is an easy language for a beginner to pick up, so give it a try!
  5. Consider PHP . PHP stands for PHP: Hypertext Processor. It is a web programming language and relatively easy to learn due to its weak typing and popularity (popularity means there will be several useful tutorials on the language). It is a great language for server-side programming. [6]
  6. There are tons of programming languages, all with varying uses. If you want to work as a programmer, you will need to know more than one, so learn as many as you can.
    • Your best bet will be to look at ads for the sort of jobs you want to get and look for the common languages that they ask for.
  7. Advertisement
Part 2
Part 2 of 3:

Learning the Language

PDF download Download Article
  1. While most companies hiring a programmer will care more about your skills than the college you went to or your grades, it greatly helps to have a college degree in a field like Computer Science to point to. You will learn more efficiently than if you teach yourself, all while getting expert guidance from your teachers (and maybe your friends). [7]
    • There are often scholarships and grants available to those doing degrees in this field. Don't feel intimidated by the price tag of a degree: it is possible!
  2. Whether you do an online degree with fees and an actual degree or certificate at the end like MIT's wonderful Coursera, or an online coding school or bootcamp like Code Academy, Fullstack Academy, or Flatiron School, you can learn a lot about programming from these structured courses.
  3. Coding bootcamps are designed to immerse you in coding so you'll learn fast. At a coding bootcamp, you'll be expected to devote all of your time and energy to learning how to code for the duration of the program. The programs are pretty short (typically anywhere from 12 to 25 weeks long). Many coding bootcamps offer career assistance, which can be helpful if you want to dive into your career as a developer right away.
    • If you're looking for a free and far more casual bootcamp experience, check out Free Code Camp.
  4. There are loads of programmers with websites where they will teach you the individual basics, as well as a few tricks. Look up tutorials on the language you want to learn to find these.
    • Many free online classes are available to learn to code from. The Khan Academy teaches computer coding, with easy tutorials and videos. Codecademy is another free site to learn from, with step-by-step tutorials.
    • Sites like Learn Python , Ruby in Twenty Minutes , and Learn Java Online are great language-specific tutorials to help you on your journal.
  5. There are several programs designed to teach kids to program. Programs like MIT's Scratch are very helpful and the younger you are, the easier it will be to pick up (like any language).
    • Avoid kits, as these rarely teach anything useful.
  6. Advertisement
Part 3
Part 3 of 3:

Teaching Yourself

PDF download Download Article
  1. Get a good, current book on the programming language you want to learn. Reviews on Amazon or similar sites will usually help you identify helpful books from unhelpful ones. [8]
  2. An interpreter is just another computer program but it will convert ideas you've written in a programming language into "machine code" so you can see things work. Lots of programs are available and you will need to choose one that is appropriate for you. [9]
  3. There are many free coding resources online, including Mozilla’s Developer Network, Stack Exchange, and Try Ruby to learn more about programming and test your code. These sites want more developers to help their platforms flourish and their resources can be some of the best on the web.
  4. Take examples of the programming language from the book and put them into your interpreter. Try changing the examples and making the program do different things.
  5. Start with simple things, like a program to convert currencies, and work your way up to more complex things as you continue reading and learning about your programming language.
  6. Once you start actively programming in your first language, you may want to learn a second one. You'll get the most out of learning a second programming language if you pick one that uses a radically different paradigm than the one you started with. For instance, if you started in Scheme, you might try learning C or Java next. If you started in Java, you could learn Perl or Python.
  7. To be a good programmer, you, at the very least, have to keep up with changing technology. It's a constant learning process, and you should always be learning new languages, new paradigms, and most importantly: programming new things!
    • Being a successful programmer means learning to think like one. You'll need to look at challenges as learning opportunities, desire to improve your skills and be open to new ways of improving your programming process.
  8. Advertisement

What Are Your Tips for Someone Who Wants to Learn Computer Programming?


Expert Q&A

Search
Add New Question
  • Question
    How do I know if programming is right for me?
    Stephen Cognetta, MBA
    Computer Engineer
    Stephen Cognetta is the co-founder and CEO of Exponent, a learning platform that helps people prepare for and ace their tech interviews. Stephen specializes in coaching for product management, software engineering, product marketing, management, technical project management, and data science interviews. Stephen holds a BS in Computer Engineering from Princeton University, where he graduated Summa Cum Laude, and an MBA from Stanford University. Prior to founding Exponent, Stephen worked as a Product Manager for Google and co-founded HackMentalHealth.
    Computer Engineer
    Expert Answer
    Well, why are you considering it? What is it about programming that appeals to you? If you're interested in programming and you're passionate about technology and you enjoy building things, programming may be right for you.
  • Question
    Where do programmers work?
    Stephen Cognetta, MBA
    Computer Engineer
    Stephen Cognetta is the co-founder and CEO of Exponent, a learning platform that helps people prepare for and ace their tech interviews. Stephen specializes in coaching for product management, software engineering, product marketing, management, technical project management, and data science interviews. Stephen holds a BS in Computer Engineering from Princeton University, where he graduated Summa Cum Laude, and an MBA from Stanford University. Prior to founding Exponent, Stephen worked as a Product Manager for Google and co-founded HackMentalHealth.
    Computer Engineer
    Expert Answer
    The really interesting thing about programming is that you find a need for this kind of work in every industry. Think about how many companies have an app, rely on data, or require software. You find programmers and software engineers basically everywhere these days!
  • Question
    What kind of programming books are good for beginners?
    Community Answer
    Check out "For Kids" books, like Python for Kids. Even if you're not a kid, the books are still useful for beginners as they explain things with extreme clarity and simplicity.
See more answers
Ask a Question
      Advertisement

      Video

      Reader Videos

      Tips

      • Don't start with a complex language like Java, but start with an easy language like Python. Python encourages beginners and is composed of almost every aspect of programming.
      • By heart, the syntax is a must. You are free to apply it in your way. Study some sample programs then start coding your own.
      • Start with something fun, motivate yourself to solve challenges, progressing your skills in logical problem-solving.
      Show More Tips
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      References

      1. https://blog.teamtreehouse.com/choose-programming-language
      2. Stephen Cognetta, MBA. Tech Interviewing Coach. Expert Interview. 21 July 2020.
      3. https://www.codecademy.com/learn/learn-c-plus-plus
      4. https://howtodoinjava.com/java/basics/what-is-java-programming-language/
      5. https://www.python.org/doc/essays/blurb/
      6. https://www.php.net/manual/en/introduction.php
      7. Stephen Cognetta, MBA. Tech Interviewing Coach. Expert Interview. 21 July 2020.
      8. Stephen Cognetta, MBA. Tech Interviewing Coach. Expert Interview. 21 July 2020.
      9. https://www.techopedia.com/definition/7793/interpreter

      About This Article

      Article Summary X

      1. Research languages.
      2. Choose a language.
      3. Enroll in school, an online course, or coding bootcamp.
      4. Utilize free online tools.
      5. Read a book about the language.
      6. Come up with ideas for programs.
      7. Keep trying new things.

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 2,521,769 times.

      Reader Success Stories

      • Ayush Gupta

        Apr 25, 2017

        "Thank you! You showed me the way. The information is perfect, and it helped me a lot. I just started programming, ..." more
        Rated this article:
      Share your story

      Is this article up to date?

      Advertisement