I really want to help future developers in their journey and the amount of questions on how to start inspired me to write this article.
I got a time to think about my journey and I asked experienced developers about coding, how they started, about career, and all those interesting things everybody wants to know.
This post has stories and a lot of actionable advice for you to be inspired, motivated, and take the first step in the programming world.
Hope this helps!
When I started I fell in love with programming. My number one tip is to learn it because you like it, you find it interesting, or maybe find it useful (and it really is!).
Why do I say that? I’m a big fan of “do what you are passionate about”. It looks cliché, but it always worked for me. And if you get started with programming, you’ll need this inner motivation. Passion and interest help you be consistent and disciplined with your learning journey.
Remember: it is not a sprint. It is a long long marathon. Don’t expect to learn everything overnight. It doesn’t happen like that.
Teach Yourself C++ in 21 Days (source)
Tip number two: keep learning
As a software engineer, one of my challenges is always keeping track of new things that are emerging in our world: new libraries like ReactJS in 2013, web applications like SPA, PWA, tech trends like Machine Learning, AI, cryptocurrency (Blockchain Blockchain Blockchain!), and so on.
I’m not saying we need to learn everything and overwhelm ourselves. My point is that new things are created so fast in the tech world, so we need to embrace the lifelong learning mindset.
Talking about overwhelming, here’s tip number three: try not to overwhelm yourself. You don’t need to start with hard concepts first or with the heaviest algorithm book.
Here’s an analogy: when you want to lose weight, you don’t start with a marathon. Instead, you maybe start with a 1-mile run.
The same way with programming, you don’t need to code and study in all your free time, changing completely your schedule.
Go for small changes, but do them regularly. One code at a time.
Don’t compare yourself with “experienced engineers” or “coder genius” is tip number four. First, it is not fair at all. Second, you are just starting. Keep focused on your studies.
It is easy to compare yourself with your teammates or programming genius, but it just increases the impostor syndrome inside you. Don’t let it stop your programming journey.
Practice is the key. Find ways to learn the concepts and practice it. This is tip five. Building the foundation with concepts and theories is important, but be practical. Try. Experiment. We will dive into this later, but practice is key!
Theory & Concepts
It’s really important to understand the basic programming concepts and build the foundation first. If you are at college now, you’ll be good! Colleges are great in teaching basic concepts and theories. If you’re pursuing a Computer Science degree, you’ll probably have Algorithms and Data Structures classes. But if you are not at college, the internet is here to help you out!
There, I learned the basics with Python on Codecademy and C in CS50. But my opinion is: you just need to start. Choose one programming language and start understanding the basic concepts (variables, if-else, loops, data structures).
Be language agnostic. Language is just a tool. It’s valuable to know a language deeply, but it’s also valuable to be learning new things. The best developers tend not to identify as a ____ developer. — Gayle Laakmann McDowell
Probably, when you choose a course, they will teach you with a specific programming language. But don’t worry! Focus on the basic concepts (and maybe fall in love with the programming language as I did with Python and Ruby).
Why did I choose these courses?
As I was searching for something to start, I wanted to deeply understand the concepts and be practical about it. CS50 seemed the best resource to build a solid foundation.
David J. Malan is definitely one of the best professors I had. And Codecademy helped a lot about being practical. Train myself to code everything I was learning. Code code code. Remember the fifth tip? Find ways to learn the concepts and practice it.
Other resources with great content are:
Introduction to Computer Science by Udacity. It covers pretty much everything you need to start understanding programming. Udacity courses always have “practice time” after each theory and concept you learn.
MIT’s Introduction to Algorithms will teach you algorithmic thinking. Understanding algorithms and how they work is the most important thing you should learn when starting your coding journey. Other great resources are algorithm books like Introduction to Algorithm by CLRS and Algorithms by Robert Sedwick.
Here you’ll start overwhelming yourself with the tons of resources we have on the internet. But try not to overwhelm yourself. You don’t need to do every single course, focus on one, learn, practice, build confidence. Remember, it’s a journey. One line of code at a time 🙂
Training, Practicing, Coding, Building
Practice Practice Practice. I can’t say enough how practicality is so important when you start learning to code.
Code. A lot… The best way to be a great coder is to just practice — a lot. — Gayle Laakmann McDowell
Practice not only make you a better programmer but also you gain a lot of confidence through this. Impostor Syndrome is a real thing!
As I said at the beginning of this article, I will try to write actionable items for you. Options you can do in your learning journey to be more practical.
As I did, you can start with Codecademy. It has really good content and a great experience to code everything you are learning.
Another great site is Hacker Rank. The website has a lot of programming language options to choose. But not only this, you can also do other domain exercises. I really like Hacker Rank’s problem-solving exercises. You receive a lot of inputs and your algorithm need to pass in all tests.
Another thing I’m really passionate about is Competitive Programming. I did it for two years at college, for competitions like ACM ICPC.
Basically, you have a bunch of problems, and you need to implement an algorithm to pass each one. Doing it helped me gain a lot of confidence in my coding skills, and I feel like I’m a stronger developer after my heavy training and participating in competitions. (Here is my repo on GitHub — I solved a lot of problems).
I’m a heavy user on Quora, and someday I read a great answer by Veni Johanna about “Does competitive programming really help in improving your knowledge and skill set as a developer?”
I’ll write down some skills we gain learning competitive programming:
- You have developed habit to convert / model specific problem to an abstract one.
- You are used to registering patterns, and matching patterns against your pattern bank.
- You know how to concentrate and perform under pressure.
- You have awareness and confidence of your own ability and shortcomings as a coder.
- You have learned to manage time, especially in terms of your thinking and coding habits.
- You are used to well-defined problems.
- You are used to having one objective in mind.
- You can be stuck in ‘problem solving’ mode.
I loved her comments and agree 100% with each one. Take a look at the full answer. You should. It’s great!
My intention here is to give you the most actionable advice as possible, so I’ll list some great websites for you to start learning and training from day 0.
- Codeforces: it is a really good website to train and learn. It has tons of great problem sets. Editorial is a plus here (*Editorial: The problem author writes how you should approach and solve the problem — which algorithm or data structure to use).
- Topcoder: this website is very similar to Codeforces in terms of problems quality and editorial. It is also well known for its tutorials. Each “tutorial” teaches some technique, algorithm, or data structure.
- Hacker Rank: as I said above, Hacker Rank has a lot of different domains like Algorithms, Data Structures, Mathematics, Programming Languages, etc. The website UI and UX is a plus for Hacker Rank, it is beautiful and very easy to use. I used a lot the Python Domain to build a good foundation on my Python skills.
- Hacker Earth and Code Chef are other good websites.
Now you can choose a website and start practicing 🙂
My first project was my own website. Then I built a website for my mom’s restaurant. Then two games: tic-tac-toe and snake. All static websites.
I felt I was ready to develop a full stack website. So I built an online bookstore with an admin dashboard (the admin could add new products, edit them, delete them… all the CRUD stuff), and the public part — the client could signup/login, search for books, and buy it. I was pretty happy I could finish this project. It was really challenging for me at that time, and I learned a lot.
The first real life product I developed was aLavadeira responsive website. And now I build the Worldpackers web product and API for the mobile apps for more than 900K travelers and host all around the world.
My good friend Douglas has a great story on how he started to code and develop apps. He learned the fundamental concepts at college, but building mobile apps was something he was always curious about. He tried to build many Android apps, but soon he gave up.
“I simply didn’t know how to start, because I had a lot of things to learn, and I didn’t feel ready to build an app. There were so many different things to learn and ways to do the same thing, that I got stuck trying to figure out which was the right or the best. The 2 most important things at this stage were: 1. Set a simple goal and try to learn the basics to achieve that. 2. Avoid perfectionism and just do it.” — Doug
Listening to Doug’s story, I felt that everybody who is starting something gets stuck in some part of the process. And it is super normal to feel frustrated or do not understand how to start.
“I got help from a friend of mine who had already built a simple app. I asked him if he knew which was the best way to do a specific thing and the truth is: he didn’t know, but I felt more secure knowing we were building the same way.” — Doug
If you have colleagues or friends that have more experience ask for help, probably they will help in some way. And it is cool how these “mentors” inspire and motivate you to start and try again.
Another learning we can get from Doug’s story: he set a goal to make the simplest app for the first time.
“I built the first app version and published it to Play Store. Then I learned more and more about Java/Kotlin/Android and could implement more features on this app. But it was a time-consuming process. I needed a lot of persistence” — Doug
It is so nice when we are on a learning curve part that we feel confident and are just “in the flow” to keep learning and building. But I totally agree with Doug, when you start learning something new, you need a lot of persistence to keep your learning consistent.
Now Doug works as a Android developer. He has 2 personal projects (mobile apps) published in the Play Store and leads the Worldpackers Android app.
“I learned how to program by working on lots of different website projects starting from a pretty young age. The best way to learn a new skill is to practice, practice, practice. It doesn’t matter what you build, as long as you pick something and start.” — Feross Aboukhadijeh
In Feross answer on Quora, he tells how he learned to code by building lots of side projects. His story is so inspiring. You notice how he keep making progress project by project. His advice to learn to program:
- Do side projects.
- Buy and read programming books.
- Do side projects.
- Take computer science classes.
- Do side projects.
- Read programming blogs.
- Do side projects.
Here is a list of side projects you can do.
Time to help you start building stuff!
- If you are a gamer, maybe you can start with Tic-Tac-Toe, Sudoku, or Flappy Bird.
- If you are a data lover, you can do web scraping or work with a trading stock API to build and analyze stock charts.
- If you want to understand better front-end, build your own website/portfolio.
- If you want to build a full product, start with an online bookstore, product inventory, or a blog.
The list goes on and on. Here another list that can help you choose the project. But I agree with Feross, it doesn’t matter what you build, as long as you pick something and start. So start building! You’ll have problems, you’ll get stuck. But you’ll learn A LOT!
I know that it is pretty challenging to keep your project going.
To keep yourself accountable, I found out an interesting project you can do daily. It’s called 100 days of code. Here is the template. It is simple, you write a daily journal about your progress and thoughts about a project you are doing.
And it really works. You keep yourself accountable, you keep your project going and track your progress. Everything in a public repository on GitHub, so you can also share with your friends. Collaborate with the GitHub community. And share and inspire other people.
It’s pretty cool how she writes about her projects and how she learned through the year. The projects were from iOS apps using Swift programming language, to web development using the whole stack (HTML, CSS, JS, Flask — Python web framework). Go read the full article.
Keep motivated, keep building, keep coding! 🙂
Some useful resources
Good websites, articles & videos:
- Udemy, CodeSchool and Khan Academy are very similar in terms of varieties of courses, but Udemy has paid courses, Khan Academy is free, and CodeSchool is a mix of both (paid and free courses).
- Don’t forget the MOOC’s: Udacity, Coursera, and edX. All these websites have great courses. Give it a try! 🙂
Follow people on Twitter
- If you are interested in Machine Learning, Andrew Ng is the person!
- For programming stuff I like to read tweets from DHH (Ruby on Rails creator), Dan Abramov (Redux Co-author), Tracy Chou (former Quora, Pinterest), Quincy Larson (freeCodeCamp creator), Preethi Kasireddy(Blockchain Engineer), Dan Bader (runs Real Python), and the list goes on.
People who are documenting their journey on Medium
- How To Successfully Teach Yourself How To Code by Lydia Hallie
- How I went from fashion model to software engineer in 1 year by Madison Kanna
- BaseCS by Vaidehi Joshi
- Here’s Why Learning How To Code Is So Hard by Kevin Kononenko
- I Want to Learn Programming but I Don’t Know where to Start by Robyn Silber
Vlogs & YouTube channels
I really like to watch vlogs and see people’s lifestyle on YouTube.
- Mayuko is an iOS software engineer working at Patreon. She also talks about engineering and lifestyle in general.
- CS Dojo is really focused on programming interview advice, algorithms and data structure stuff. This channel is from YK Sugishita, a former Google Engineer in Canada.
- Joma Tech is the funniest and more entertaining YouTube channel among all. Jonathan Ma is a data scientist at Facebook. He vlogs about his engineer life and also gives coding interview advice based on his experience interning in a bunch of tech companies.