DEV Community

Dharshan A
Dharshan A

Posted on

5 Small Habits That Actually Made Me a Better Developer

I’ve been coding for years. I’ve tried fancy frameworks, complicated tools, and big learning plans. But the things that helped me the most were surprisingly small daily habits.

Here are the 5 habits that made the biggest difference

1. Write down what I built every day

Even if it’s just 2 lines: "Fixed login bug" or “Made the button work”. At the end of the week I can see real progress. This stopped me from feeling like I did nothing.

2. Delete code instead of commenting it out

I used to leave old code with // comments everywhere. Now I delete it. My files are cleaner, easier to read, and I make fewer mistakes.

3. Take a 5-minute break every hour

I set a timer. When it rings, I stand up, walk, or look out the window. My brain works much better and I catch bugs faster after the break.

4. Use the "10-minute rule" for problems

If I’m stuck on something, I only allow myself 10 minutes of struggling. After that I ask Google, Stack Overflow, or a friend. This saves me hours of frustration.

5. Keep one simple notebook (not digital)

I write down ideas, shortcuts I learn, and error messages. Paper feels faster than opening another app. I go back to it often.

Why these small habits work better than big changes

Learning a new framework or language feels exciting but usually doesn’t stick. Small habits are easy to start and they compound over time. After a few months you notice you’re faster, calmer, and write better code.

Start with just one

Don’t try all five at once. Pick one habit this week. Try it for 7 days and see how it feels.

My challenge to you

Which small habit are you going to try first? Or what small habit has helped you the most as a developer?

Tell me in the comments. I read every single one.

Small changes > Big promises.

Top comments (0)