How to Cope with Obstacles When Programming

How to Cope with Obstacles When Programming

In the emblematic book: The Mythical Man-Month, Fred Brooks states that one of the joys of software development is the act of creating something; moreso if it comes from your own design. Another joy is creating something that will be helpful to someone else. All of that is absolutely true.

However, while developing software is rewarding it can get frustrating at times, especially when you’ve spent hours, or days, trying to solve an error and it looks like you are not getting any closer to the solution. That’s completely normal in this profession. What shouldn’t be normal is letting frustration, anger, or other negative feelings get the best of us. The following tips might help you to deal with obstacles when you are coding:

Identify your turning point

Identify Your Turning Point

When we code we encounter obstacles like errors, or we need to implement an API that we’ve never used before, etcetera.

At first the challenge can be intriguing, but after certain amount of time or troubleshooting you start to experience anger and frustration. Some people even start hitting their computer or throwing stuff around.

It’s important to identify that point when we start to get a little angry and change tasks, get up for a glass of water or a short walk until you feel more calm. Changing to an activity that doesn’t require a lot of analysis can help, like working in CSS code. The important thing is to not let negative feelings get the best of us.

Don’t be afraid to start over

Don’t be afraid to start over

Frustration and anger are generally negative feelings, but they can help us to stop insisting on trying to solve a problem in a certain way and start to look for alternatives.

You don’t need to be afraid to start over with different logic or different plugins, or other possible solutions . A fresh start can even help us to save some time. It is possible to use negative feelings in our favor.

Explain the problem to someone else

Explain the problem to someone else. untitled-2-02 Sometimes talking with someone else about the situation, even if it’s someone who has no coding knowledge, will help you as an emotional release. It will also help you understand the situation better because you will use simple language to explain the problem and hopefully you will come up with new possible solution ideas.  On the other hand, asking for help from a co-worker when we no longer see the light at the end of the tunnel can help, and a pair of fresh eyes are always welcome. They might see the problem differently than you

Sometimes talking with someone else about the situation, even if it’s someone who has no coding knowledge, will help you as an emotional release. It will also help you understand the situation better because you will use simple language to explain the problem and hopefully you will come up with new possible solution ideas.

On the other hand, asking for help from a co-worker when we no longer see the light at the end of the tunnel can help, and a pair of fresh eyes are always welcome. They might see the problem differently than you.

Learn from your mistakes

Learn from your mistakes

Bad experiences or obstacles that we face during a project can help us grow if we see them in the right way. They can help us to be better developers and be more aware and prepared so it won’t happen to us again.

Leave a Reply

Your email address will not be published. Required fields are marked *

Copy link