To fix bugs or add new features?

This is a constant problem we developers face. How do you deal with the increasing number of bugs while also adding new features on a constant basis in an environment where the time is very limited? This article solves this decade-old question.

There are two main perspectives on that dilemma:

So which one is better? Which one should you choose?

It depends on the way you work. If you feel comfortable building features on top of a broken mountain, you may focus on developing first and fixing later.

This will be useful for Minimum Viable Products where you need to show something as soon as possible without being polished.

But if you get stressed by the increasing number of bugs, you should focus on fixing things first and then develop the new features.

This will be the right approach when building long-term products like banking applications and products where an entire team is expected to work for several years.

If you’re reading this article is probably because you’re stressed by the increasing number of bugs your product is facing, in fact, that’s the reason why I’m writing it in the first place, because I’ve been in the same situation many times.

In any case, you’ll be stressed by closing deadlines that are so common nowadays. Things need to be developed fast and improved as much as possible without spending too much time on tasks that don’t add value at first sight.

That puts us in a position where we are forced to work in a stressful programming environment while managing complexity and staying productive.

You can’t escape stress. When you are trying to build something from scratch, you’ll be constantly pushed and the demands to your mind will be omnipresent. That’s why I recommend you to learn how to deal with stress better.

It’s easy to lose your focus and go down the spiral of frustration when a bug comes: “But this feature was working just a minute ago!”, “Where is this bug coming from?”, “Now I have to spend an extra 10 hours fixing all these pointless bugs for no reason!”.

Because life is stressful, why not make it easier to deal with the problems we will inevitably face. Here’s how you can improve your patience and performance:

That’s it. Now every time a bug comes up, you’ll see what’s the best way to fix it. In summary:

Hope you enjoyed this article and make sure to share it with that particular person that always seems worried or stressed out. It will help them.

Blockchain expert. Get my new Ethereum book on Amazon: https://amzn.to/2KBBNyu and my previous one here: https://merunas.org/book

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store