5 Steps to solving your coding problems.

Photo by Sigmund on Unsplash

5 Steps to solving your coding problems.

Coding bugs are one of the nightmares of every developer. Not only these problems stops you from going forward but they also make you demotivated. So today I will share steps from which you can easily face this problem and not break your laptop.

1. Do Experiments

Every time you run into a problem take it as a learning experience for yourself and try to debug with yourself. Do some print statements or try to explore what can go wrong this will make you confident with the problem but do not stick with these steps if you can't solve it by yourself take the next step.

2. Check Documentation

Not all tools have great documentation but some of them are so great to see and way better than any other resources this will help you to quickly find the solution for your problem.

image.png

just do a ctrl+f or search in the documentation and Bamn you can find the solution or either some extra knowledge.

Believe it or not but the best software Engineer is at the end of the day a good googler. They know how to google things up. These are some best practise while googling like you can search for important keywords within the double quotes to enhance your result.

image.png

One of the best ways I use is to paste the important line of the error to google and it can help me to get search results like StackOverflow.

4. Ask questions on forums & QnA sites

Now, this can sound silly but

There is nothing like a bad or poor question it can be a poorly formatted question.

Everybody starts to learn at some point and your question can be as basic as "How to print a statement in python ?". So, the big question is how to format your questions.

There can be many ways but some of the best practices are to use code snippets try to be on the point don't put the whole code just give some background explain your error and search for some past questions like yours.

Attaching an article by StackOverflow to help you with it.

How to ask questions?

5. Join and Ask in communities-

The best way or you can call it my way after all the juggling from everywhere if you didn't find an answer to your problem then communities can be proven as a goldmine not only do these communities help you to solve your problem but they can also help you to give tips to how to avoid this types of problem because somewhere someday someone has already faced the problem which you are facing currently.

I am sharing the links to some of the best communities which I am following currently to debug my any problem.

  • Zero To Mastery image.png Any day if I wanted my problem related to my web development problem zero to mastery is my go-to community is so fulfilling that I can ask any question without hesitation

ZTM discord link

  • Scrimba

image.png Scrimba is an interactive learning platform where content is mostly related to Full Stack development but the community is very active their learning resources and community support are what I love the most about it. Their discord community is free to join you can give it a try.

To join the Scrimba Discord, head to scrimba.com/discord then click Join Scrimba Community:

  • Alchemy

image.png If you are into WEB3 then alchemy is a goto for all problems related to NFTs Blockchain development and much more. Alchemy is the platform where you can grow yourself and help other people.
Alchemy's discord server

  • Community Classroom

If you are facing problems related to DSA or DevOps or any other career-related problem then you can visit the community classroom their nourishing and active environment is what inspires me the most.

Community Classroom Discord

But do remember communities are all about spreading your knowledge to others so try to also help others in need.

Here is my #week2 blog for #4articles4weeks contest.