7 habits that will make you a better developer

Kethmar Salumets
2020-07-03 Kethmar Salumets

Habits are the cornerstone of success. At least that's what I believe. In case one wants to become a great developer, good habits are vital.

In this short article, I list the 7 habits I believe have made me a better developer.

This content is also available on my Youtube channel called developerHabits.

Constant learning

The world of IT is moving really fast, both software and hardware. That's why we as developers must also educate ourselves all the time - learning new concepts, be knowledgeable of the improved technologies, etc.

I do not think one should spend hours doing that every day. Subscribing to some weekly newsletters and reading some technical books is enough.

Just make sure to make it a habit to consume some new knowledge on a regular basis.

Learning the fundamentals.

Learning fundamentals is important in every aspect of life, but especially in programming.

By learning the fundamentals, you can build new knowledge on top of the foundation, making it easier to connect the dots.

For example, before I jumped into React, I made sure I had a solid understanding of Javascript and its main concepts.

Thinking about the problem and the solution

When I was less experienced and was asked to solve a problem, the first thing I did was coming up with a technical solution with all the cool features.

Nowadays, whenever I'm approached with a problem, I first try to ask more questions, analyze the problem, and only then find a proper solution. It may, but does not have to be, technical. The goal is to solve a problem, not write code.

Chunking tasks into smaller parts

Big tasks can always be made smaller. Doing that is a great habit to establish.

By making tasks into smaller chunks, you will:

  • Have a better overview of what you have to do
  • Make it easier to delegate some parts of the task to colleagues
  • Have a sense of accomplishment more often

So next time when the task seems too hard, try to decompose it into smaller parts.

Naming variables

Sounds easy, right? Well... Too often do I see code where variables are named x, y, z.

We don't write code just for the machines, but also for other people. One of the easiest ways to improve the quality of your code is by putting conscious effort into naming your variables.

For example, when you have an array of animals, do not name the array x, but give it a descriptive name, like animals.


Testing testing testing. Test what you produce. Either by writing unit tests, functional tests, or manual testing.

If you won't, your visitors will.

Take breaks

I used to hate it(and still do sometimes) when people tell me to take breaks. But the reality is that it's necessary for various reasons.

Your body needs movements, eyes require rest and well...I'm sure you've been in a situation where after a small break, the solution miraculously comes to you! One of the reasons is because you've given your brain something other to think about for a while, but subconsciously, it still continues to work on the coding problem you had.

So remember to take breaks. Even if you don't like it!

What are the habits you believe a good developer should establish?

Oh and...! If you are interested in coding, growth mindset and are willing to share your experiences, ideas, then please do PM me in Twitter :)!

DeveloperHabits ๐Ÿ“ท Youtube: developerHabits ๐Ÿ‘‰ Twitter: https://twitter.com/developerHabits ๐Ÿ‘‰ IG: https://www.instagram.com/developerhabits

Related articles

Changing career to become a web developer

I started to help myself and others improve their development skills and mindset. As we know, learning from others' experien...

Freelancing big projects - 9 key takeaways from my failure that you can learn from

I love creating. Whether itโ€™s a nicely cooked dinner for friends or a design for my next โ€œIโ€™m gonna change the worldโ€ project...

From senior to junior in one day - looking back at my first days as a professional developer

The beginning of October marks my 3rd anniversary in Pipedrive, the company I work at. Because of that, I've found myself thi...