How to Start Coding: The Beginner's Guide to Programming

Download Article
A complete introductory guide to start learning how to code on your computer
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 How.com.vn 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

Download Article
  1. How.com.vn English: Step 1 Choose a language that's relevant to what you want to do.
    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. How.com.vn English: Step 2 Consider C, C++, C# and related languages
    . 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. How.com.vn English: Step 3 Consider Java or...
    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. How.com.vn English: Step 4 Try Python...
    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. How.com.vn English: Step 5 Consider PHP...
    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. How.com.vn English: Step 6 Don't limit yourself to these languages!
    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

Download Article
  1. How.com.vn English: Step 1 Think about going to college or university.
    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. How.com.vn English: Step 2 Learn from online universities, coding schools, and bootcamps.
    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. How.com.vn English: Step 3 Try a coding bootcamp.
    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. How.com.vn English: Step 4 Learn using online tutorials.
    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. How.com.vn English: Step 5 Start young if you can.
    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

Download Article
  1. How.com.vn English: Step 1 Start with a good book or tutorial on programming.
    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. How.com.vn English: Step 2 Get an interpreter for that language.
    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. How.com.vn English: Step 3 Use online resources and communities as you learn.
    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. How.com.vn English: Step 4 Read the book!
    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. How.com.vn English: Step 5 Try putting together your ideas to form a working program.
    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. How.com.vn English: Step 6 Learn another language.
    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. How.com.vn English: Step 7 Continue programming and trying new things!
    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


Expert Q&A

Search
Add New Question
  • Question
    How do I know if programming is right for me?
    How.com.vn English: Stephen Cognetta, MBA
    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.
    How.com.vn English: Stephen Cognetta, MBA
    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?
    How.com.vn English: Stephen Cognetta, MBA
    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.
    How.com.vn English: Stephen Cognetta, MBA
    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?
    How.com.vn English: Community Answer
    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
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      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
      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. http://php.net/manual/en/intro-whatis.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

      How.com.vn English: Stephen Cognetta, MBA
      Co-authored by:
      Computer Engineer
      This article was co-authored by Stephen Cognetta, MBA and by How.com.vn staff writer, Rain Kengly. 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. This article has been viewed 2,511,041 times.
      How helpful is this?
      Co-authors: 131
      Updated: July 13, 2023
      Views: 2,511,041
      Article SummaryX

      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,511,041 times.

      Reader Success Stories

      • How.com.vn English: Ayush Gupta

        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?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement