Do you want to learn programming? Are you planning to kick start your programming career, but don’t know where to start. Well, if you’re like most people, you probably thinking on going to college. Maybe, you’re planning to take courses online. The truth is that when it comes to programming and coding, there’s not fixed path. Therefore, for someone just starting this process, choosing the right path could be a daunting task. In this blog post, I’m going to give you some useful tips to teach yourself programming.
Learning programming is not different than learning anything else. Yes I know, it is programming and programming is difficult. Well, not always. Programming languages are like regular languages. They have structure, logic, and you have to follow. Once you become proficient at one specific language; then you should be able to pick up other languages more easily. Always, the learning curve is the more painful process. It doesn’t matter the language, there are specific concepts you have to learn.
- Print output to screen
- what is a variable & types of variables (int, string, etc)
- Declaring Variables & manipulating their value ie: change it, print to screen, add to value
- Condition (if statement, if else statements, etc.)
- loops (while loops, for loops, do while loop. know when to use each)
- Functions, return statements, calling functions
- Data Structure (arrays, list, sets)
- Parameters and Arguments (know the difference)
- Input and Output (know how to read from a file and output to a file)
- Searching data (array, list)
- Sorting data (array, list)
Intermediate Programming Concepts (object oriented programming)
- What is a class?
- what is an object?
- what is instanciation?
- what is encapsulation?
- what is inheritance?
- what is polymorphism?
- what is overriding
- what is overloading
- what is a getter method?
- what is a setter method?
Advance Programming Concepts (Data Structure and Algorithm)
- linked list
- stack queue
- binary tree
- binary search
So one of the question starting programmers always ask, what programming language should I learn first? And the answer is, pick one that would allow you to understand Object Oriented Programming. Many university now a days favor Java for their curricula. And one of the reasons Java is Object Oriented language (check the java programming section of the blog). Other universities favor C++, others Python. Any of these three I’ve mention are very sound, and robust languages to start with.
Picking a book to learn on your own and getting practice is another path that many programmers take. As a matter of fact, if you want to get any good at programming picking a good book is a must. The internet is full of free pdf programming book, so finding one will not be a problem. A good source of information on finding good books is amzon.com. You can read the review on the book, and then do a search online.
Here’s a list of good programming books
- Big Java (Wiley)
- Java: introduction to problem solving and programming
- thinking in java
- Data Structure and Algorithm in Java
- Cracking the coding interview (java)
- learning python
- learn python the hard way
- think python
Moreover, it is important that you don’t rely on instruction, and theory only. Programming is a subject that requires vast amount of hours in front of the computer. So you must be ready to practice, practice and more practice. What I mean is that you need to do plenty of coding, and programming exercises. On the web, there are plenty of websites that will allow you to practice for free. These websites rage from novice to expert.
Online programming and coding sites. (free)
- hackerrank (challenges)
- codingbat (java, python challenges)
- w3resource (practice many languages)
- coderbyte (challenges, exercise)
- ProjectEuler (challenges Advance)
Online Learning Sites
Path to learn programming language (inforgraphics)
In conclusion, learning programming requires a multi-faced approached. You can’t rely on one book, or one class. You have to employ many different approaches to learning code. And the path is not set in stones, so don’t become discourage. Starting is always the most difficult part. It doesn’t matter the language or the path you take, you just don’t give up. You should remember, the most important thing when it comes to programming, is “practice.” So practice, do exercises, challenges, and read some book.
I would like to hear from you. What resources have you used in your programming learning path? What languages did you started with? What books helped you the most? What online practice site have you used? Leave a comment!..