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.
Steps
-
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] X Research source
- 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]
X
Expert Source
Stephen Cognetta, MBA
Tech Interviewing Coach Expert Interview. 21 July 2020.
-
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] X Research sourceAdvertisement
-
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] X Research source
-
Try Python . Python is a very versatile language used widely across several platforms. [5] X Research source Despite being extremely powerful, it is an easy language for a beginner to pick up, so give it a try!
-
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] X Research source
-
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.
-
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] X Expert Source Stephen Cognetta, MBA
Tech Interviewing Coach Expert Interview. 21 July 2020.- 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!
-
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.
-
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.
-
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.
-
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.
-
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] X Expert Source Stephen Cognetta, MBA
Tech Interviewing Coach Expert Interview. 21 July 2020. -
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] X Research source
-
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.
-
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.
-
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.
-
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.
-
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.
What Are Your Tips for Someone Who Wants to Learn Computer Programming?
Expert Q&A
-
QuestionHow do I know if programming is right for me?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.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.
-
QuestionWhere do programmers work?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.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!
-
QuestionWhat kind of programming books are good for beginners?Community AnswerCheck 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.
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.Thanks
- 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.Thanks
- Start with something fun, motivate yourself to solve challenges, progressing your skills in logical problem-solving.Thanks
References
- ↑ https://blog.teamtreehouse.com/choose-programming-language
- ↑ Stephen Cognetta, MBA. Tech Interviewing Coach. Expert Interview. 21 July 2020.
- ↑ https://www.codecademy.com/learn/learn-c-plus-plus
- ↑ https://howtodoinjava.com/java/basics/what-is-java-programming-language/
- ↑ https://www.python.org/doc/essays/blurb/
- ↑ https://www.php.net/manual/en/introduction.php
- ↑ Stephen Cognetta, MBA. Tech Interviewing Coach. Expert Interview. 21 July 2020.
- ↑ Stephen Cognetta, MBA. Tech Interviewing Coach. Expert Interview. 21 July 2020.
- ↑ https://www.techopedia.com/definition/7793/interpreter
About This Article
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.
Reader Success Stories
- "Thank you! You showed me the way. The information is perfect, and it helped me a lot. I just started programming, and it is my passion. I made my time apart from my studies. My cousin told me to try wikiHow. I did, and now I am very happy, as I know my way. " ..." more