Let's try to shed some realistic light on the start of the road to becoming a programmer. A long, bumpy road with a million crossroads... In other words, a fascinating one, full of challenges! Let's go!
Who can learn to program?
Anyone! Anyone who enjoys it, of course. There is no point slogging through something that is endless torment for you. It is worth a try, though, if only to check the many myths about programming. Maybe those obstacles are not worth worrying about at all?
Facts and myths
Programming builds on many fields, such as mathematics and logic. Some programs require advanced knowledge in a given field, but the vast majority of programmers (especially at the start) do not need to dig deep into them.
You need to be good at maths
Well, you do. Adding, subtracting, dividing and multiplying. Primary school level 😉 If the need arises, or you want to work on specific projects, you could say biology would come in handy too, and chemistry, and physics... But you can learn that when you need it.
You need to know English
You can start learning without English, but let's face it - this world is written in English. Sooner or later you may miss out on a lot without it. The upside is that, as with maths, it does not have to be perfect, or even advanced. You can improve your English along the way.
You need to think logically
Oh yes, that helps a lot. Looking for simple solutions is a big part of programming. Like parking close to the shop so you do not have to drag your shopping across the whole car park 😉 In other words - learnable!
You need to know computers
And install programs, and never use a mouse. Sure, you can do that too. Programming is mostly about computers, so knowing them, or rather knowing how they work and how the Internet works, is gold. But as you learn a programming language, you will pick up much of that knowledge "whether you like it or not". You will learn some "secrets", many doors will open, and things that look like a mystery now will become crystal clear.
You need to keep learning
There are really few fields today where you don't. IT moves especially fast, and programming languages evolve all the time. But it is not a pace you cannot keep up with simply by programming "during the day", at work. I even think that is a plus, as it pulls you out of the daily routine.
Can you learn to program?
YES, BUT 😉 Learning to program is a long process, and it is good to be aware of that. No more, no less. In that respect it is no different from mastering a musical instrument or driving a race car. If you are just starting out, it cannot be done in a month or two, as some promise (they also promise a great-paying job ;)). And certainly not by watching a few-hour course costing tens or even hundreds of dollars. You have to - wait for it - practise a lot. But unlike instruments or cars, learning to program does not cost a penny, and you do not have to travel anywhere for lessons. I assume you have a computer at home, and if you can read this article on it, you can program on it too. So how do you tackle it?
Small but regular steps 👟
Since the road is long, you can split it into stages. And split the stages into even smaller parts, and so on. That way, a topic for many long months can be broken into hundreds of small, easily digestible portions. Studying or working and do not have a few hours a day for hard learning? Cannot go all in, basically? No problem - instead of hours you can learn for minutes a day, and you will still see results. Later, but you will, and that is what matters. Small, regular steps matter more than big leaps. And along the way you will find out whether this is for you, without investing too much of your precious time.
How small should those steps be? To show the scale, let me use the example of reading a 400-page book, a "thick" one (not to be confused with a "doorstop", which starts at 800 pages 😉 ). What daily goal do you set? You immediately think a month is a good unit of time and does not sound silly - telling someone "I read X this month" sounds fine. That gives 13 pages a day. Not much, right? Sure, but one day you forget about the book, and the next day you have to read 26 pages to catch up. Forget twice, God forbid, and it is 39 pages. And time is running! 13 pages may be half an hour of reading. Finding half an hour every day is sometimes quite a challenge. So why not read 4 pages a day? Or 2? It sounds funny, but the fact is you will read those two pages in five minutes, so it is hard not to squeeze them into your day. Often you will read more, because you get hooked or simply do have the time. Half a year sounds worse than a month, but as they say, better to read two books a year than to start one and never finish it 😉 And how long you read is nobody's business.
Alone in the valley of despair â›°
Learning in small portions, you can wait a long time for spectacular results (and that is what we expect, right?). You can compare it to the view from a valley, where high mountains hide your destination. You can walk through that valley for days, but until you reach its end, you will not see the goal - your results. This is completely normal. It does not mean you are not making progress.
You will probably walk through that valley alone, only now and then meeting other adventurers 😉 They will be faster, talkative, throwing clever words around. That is normal too. One person walks the trail faster, another slower. One will claim they became a programmer in a month and earn six figures, another that they did a bootcamp and already work for Google. Do not compare yourself, it is a waste of energy.
Keep that in mind and you will be calmer on the trail to becoming a programmer.
Tools for learning
A calendar
Nobody saw that coming, and in first place too. But the truth is, you have to trick yourself into learning and set aside those 5 minutes a day until it becomes a habit. So the first step can be a reminder in the calendar on your phone, say every working day at 7 am. Any time that suits you, of course, though admittedly in the morning you may absorb knowledge better, along with your morning tea.
freeCodeCamp
There are many course sites, but https://www.freecodecamp.org/ does it well, from A to Z, in a digestible format. And for free, which is a fair price 😉 No ads will get in your way there either. They really do it to help you learn to program. They teach "web" technologies, that is building websites and web applications. In my opinion it is a good start, even if you later move on to mobile apps or something completely different. Among other things you will meet JavaScript, which is on practically every website on the Internet.
YouTube
Here, also free of charge, you will find tons of step-by-step material. From short tips to courses many hours long (freeCodeCamp's too). There are channels in many languages, so at the start you can learn in yours. But remember, just watching will not get you anywhere 😉
Documentation
Every programming language and every solution built with it is described in documentation. It is the ultimate source of truth, because it (usually) shows what the authors intended. It lets you drink from the source and not repeat mistakes. I put this point last, though, because it is (usually) knowledge in a not very digestible format. At the start it can put you off with its density and dry, encyclopaedic language. But at some level it becomes the first place you go.
How to learn
You now know there are many tools to help you, and the Internet is full of knowledge and people who want to share it. Try approaching it like this:
- Go through a few short lessons / courses / tutorials on freeCodeCamp or YouTube - only until you know the basics of programming,
- Once you know the basics, step away from courses and tutorials and pick a simple thing you would like to program - it can be a web page with a few buttons, some text and an image, or even a program in the browser console
- Make a few such "projects" - their job is to prove to you that without the help of tutorials you can make something really basic and understand what you are doing - they should be really simple things
- After a few "projects" you will find something you would like to do but cannot yet - even changing a button's colour when it is clicked - do not look for tutorials or courses that show how (and show lots of other things you do not need along the way) - search for how to do just that one thing
- Keep going this way - learn only what interests you and what you need at the moment. Things you do not use (practise) you will forget anyway, so why waste time? Remember - you do not need to know how to do something, but it is good to know where to look for how to do it 🙂
Do not worry that learning this way (without tutorials) you will miss something super important - quite the opposite - you will discover many solutions nobody thought of in the guides. It will be your own, unique knowledge.
Pitfalls of learning
As on any road, there are dangers lurking on this one. They are the shortcuts and conveniences that have been popping up like mushrooms lately. But believe me, the deeper you go, the more they become a millstone around your neck. So let's look at them, to know when they are worth using and when not.
ChatGPT 🤖
Let's start with the strongest card in the deck. Large language models, so-called artificial intelligence. You can ask them anything and get an answer.
On the one hand, AI can be a great learning companion, e.g. it can play a teacher and practise your programming knowledge with you. It can suggest what to learn next, given what you already know. It can find gaps in your knowledge. Give you different definitions. Generate exercises. That is good and it will help you grow.
On the other hand, you can describe a problem and it will try to give you the answer. If you ask it for a solution without knowing how something works, it is like copying a classmate's homework. That is bad, because you learn to copy, not to create. Your job is to think and create. And as with copying from a classmate, you do not even know whether their answer is right. That is another huge danger.
An AI assistant in your code editor
AI no longer lives only in a separate chat window. Assistants such as GitHub Copilot, Cursor or Claude Code suggest whole lines and functions right in the editor, and can even write and fix code in your project on their own. At work that saves a huge amount of time. At the start of learning, it is a trap: the code "writes itself" and nothing stays in your head.
A few rules that work in practice:
- You first, then AI. Try to solve the task yourself, and only then ask how it could be done better.
- Ask for an explanation, not a ready answer. "Why doesn't this loop end?" teaches you more than "write me this function".
- You must be able to explain every line. If you do not understand what the code from AI does, do not paste it - ask more, or write it your own way.
- Switch off suggestions for the first months. Turn on autocomplete of whole blocks only once you can judge whether a suggestion is any good.
- Give AI your code to review. Ask it to point out bugs and weak spots, then fix them yourself. It is like a code review with a patient mentor.
In other words, AI should be your coach, not a player who plays instead of you. Once the basics are in your head, the assistant becomes a great tool that lets you do more, faster.
Stack Overflow
The https://stackoverflow.com forum is the "forerunner" of ChatGPT 😉 The most popular website for questions and answers about IT problems.
On the one hand, you can learn the way to solve a problem you cannot crack yourself yet. You can also see how other people approach it. You may even get educated with a link to the official documentation 😉 Either way, it is another great source of information. You could say verified information.
On the other hand, many people practise so-called copy-paste programming. Just like with ChatGPT, they ask for ready solutions and copy them into their programs. And again, if you do not know how something works...
The Dunning-Kruger effect
This is a cognitive bias - knowing little, we think we know a lot. It can happen at the start of programming too. After writing our first function we decide nothing can surprise us any more and become overconfident. Nothing wrong with that, but at that moment it is in our nature to rest on our laurels. And it is not a good moment. We should do the opposite and strike while the iron is hot. When you feel you know everything, try writing a tutorial, for example. Add a new condition. Take on something harder 💪.
Bibliography
The small steps and the valley of despair come from the book "Atomic Habits" (James Clear, Avery, 2018). I recommend the whole book; it can be very helpful in reaching your goals 🚀.