Advice for learning programming
Originally shared on LinkedIn.
-
1
Stick to one language (initially)
Don’t try to learn every language at once. Just pick one — it could be Python, JavaScript, or C++. Focus on the basics: variables, loops, conditionals, functions, and how code flows. Once you understand these, switching to another language becomes way easier. Bonus tip: Languages like C++ give you both functional and OOP concepts, so it’s not a bad one to start with.
-
2
You can’t learn everything at once — and you don’t need to
Stop stressing about learning every framework, library, or concept out there. Just learn enough to build small scripts or projects. The rest will come as you need it. Learning while building is the best way.
-
3
Start solving real problems
In the beginning, you'll copy tutorials — to-do lists, weather apps, etc. That’s fine. But don’t stop there. Pick a real problem, something that you care about, and build a solution. It won’t be perfect — and it doesn’t have to be. Software is all about iteration.
-
4
Understand the “why” behind the code
Don’t just blindly write code that works. Try to ask: Why does this work? or What would happen if I changed this? That curiosity will level up your learning big time.
-
5
Build first, refactor later
At first, just make it work. Don’t try to make the cleanest, most optimized code. Once it works, then improve it. Trying to write perfect code from the start slows you down and kills motivation.
-
6
Google is your best friend
Every dev Googles stuff — even seniors. It’s not cheating. It’s smart. What matters is knowing what to search and how to understand the results.
-
7
Don’t compare your journey
Everyone learns at a different pace. You’ll see people building crazy stuff while you're stuck on bugs. That’s normal. Stay in your lane and keep moving.
-
8
Keep it fun
Code for fun, build stupid ideas, make memes with HTML/CSS. Whatever keeps you going. If it feels like a burden, you’ll burn out fast.
-
9
Programming is about problem solving, not just learning tech
One thing I realized later: programming isn’t about learning every new tech that comes out. It’s about solving problems. Languages, frameworks, and tools are just that — tools. Don’t be afraid to jump between languages if needed. What matters more is: Can you think through a problem and break it into code? That’s the real skill. Once you have that, learning a new language or framework is just syntax.
If you’ve made it this far, show some love ❤️
Check out my YouTube (in Hindi) for more on coding and building.
youtube.com/@shanithakur_