5 Lessons I wish someone have told me before I started coding
Tags: javascript, beginners, programming, tutorial
Published: 2023-01-24 05:11:21

Coding is the most interesting thing to me. It’s more like a passion than a hobby for me. So, I continue to make interesting projects and I devote 1–2 hours consistently to coding and learning new things from YouTube. I am a self-taught learner (a full-stack web developer) and I have learned everything from YouTube alone. So I rely a lot on YouTube, Google, StackOverflow, and ChatGPT. There is no mentor for me. nor any instructor, so whenever I make projects I make a lot of mistakes, and I make many errors as well. But every time I learn from my mistakes and errors of mine. It helps me to become a better programmer.

It’s been 1.5 years since I learned web development and I am still learning more and more new/interesting topics about DevOps, Kubernetes, and System Design. The journey was pretty tough for me.

I learn so many lessons from my coding experience, but I wish someone could have told me all this earlier when I just started. So, here are some of the 5 best lessons that I want you to learn before starting coding so that you don’t have to learn this a hard way. Let’s get started.

## Lifelong Learning process
Coding is a lifelong learning process. Before you start coding, it’s important to understand that you will never know everything about it. There will always be new languages, frameworks, and technologies to learn. Embrace the fact that you will constantly be learning and growing as a developer.

## Practice, Practice, and Practice is the only way
Practice makes perfect. Coding is a skill, and like any other skill, it takes practice to master. Set aside some time each day to code, even if it’s just for a few minutes. The more you practice, the better you will become.

## Learn to debug your code
Debugging is a crucial part of the process. One of the most frustrating parts of coding can be trying to figure out why your code isn’t working. But debugging is an essential part of the process, and it’s important to learn how to do it effectively.

## Don’t be afraid to ask
Don’t be afraid to ask for help. Coding can be a solitary activity, but you don’t have to go through it alone. There are countless online communities and forums where you can ask for help, and many experienced developers are more than happy to offer guidance.

## Fun is also Important
Have fun! Coding can be challenging, but it can also be incredibly rewarding. Don’t take it too seriously, and don’t be afraid to experiment and try new things. Remember that coding is a creative process, and the most important thing is to enjoy the journey.

---

That’s a wrap. Thanks for reading.

[Follow me](https://medium.com/@piyushkesarwani72 ) for weekly new tidbits on the domain of tech.

Want to see what I am working on? Check out my [Personal Website](https://piyush-webdev.netlify.app/), [Twitter](https://twitter.com/Hy_piyush), and [GitHub](https://github.com/piyushkesarwani  ).

Want to connect? Reach out to me on [LinkedIn](https://www.linkedin.com/in/piyush-kesarwani-809a30219/). Follow me on [Instagram](https://www.instagram.com/piyush_kesarwani22/).