Tips on how to become a better developer

Tips on how to become a better developer

As a developer, you read and write code — lots of it. It might feel like it is the only thing that matters in our profession as we improve and become better.

But, more things matter when we want to become more productive and better at what we do.

In this article, I will share 20 tips that boosted my productivity and well-being as a developer big time and might work for you too.

1. Keep your work environment clean

A clean working environment grants peace of mind and can make you more productive (there have been studies) to prove it.

2. Use tools that fit your needs

This might sound obvious, but still: use the right tools that work for you, rather than for someone else.

3. Review the code of others

Reviewing the code of other developers keeps you sharp and you might even learn new ways how things should ( or should not ) be done.

4. Drink your cup of coffee at the right moments

Coffee contains caffeine, which increases mental alertness. Rather than drinking a cup before going to bed, drink one when you aim to focus for 1-2 hours on a complex piece of code.

5. Get more familiar with version control

We all know how to commit, pull and push, but there is more. You can never be too good at it, and it's a crucial aspect of the profession.

6. Make sure you know the basics

More than often, it all comes down to the basics. Make sure you know it so that you can explain it to others (which is a sign of mastery). Basic knowledge of a language might fade, especially when using a framework.

7. Get good at communication

Communication is key. Working in a team or with a client? Make sure to communicate properly and avoid making assumptions about whether someone knows a thing that you know.

8. Use communities

We all know how to copy and paste an error in the Google search bar and click the first Stack Overflow link that pops up. But, sometimes, asking the question yourself in a community might get you a faster, and often better answer that fits your case.

9. Write comments where needed

Your code might be quite complex and hard to read, even though you tried your best and the variable names are close to perfect. In this case, elaborate on it using comments. There is nothing worse than working in a complex codebase with zero comments.

10. Stop distracting yourself

Reflect on what distracts you during the day. Maybe your phone, a co-worker, or the #general channel on Slack. Whatever it is, try to avoid it when you want to get things done.

11. Trust the people you work with

Have confidence in your team and the people you work with. They were hired for their expertise, just like you. If you trust them, they will trust you.

12. Never ship right before the weekend

Seriously, don't (unless you like to solve a lot of problems on your weekends).

13. Learn more about design patterns

Design patterns distinguish working code from good code. Learn more about design patterns that apply to your development stack.

14. Learn how to spot & solve problems early

Never let (code and non-code-related) problems escalate or exist without being seen. Look for issues early and tackle them as soon as possible.

15. You can't know everything

It is okay to not know something. Ask for help when you need it and don't put in countless hours in solving something on your own, when someone else can help you out within 5 minutes.

16. Aim for functionality, not perfection

No one is perfect: and neither is your code. Aim for functional code, rather than trying to make it perfect. If it's functional, you can always improve it to make it better later on, but know when to leave it as it is.

17. Plans are allowed to change

It is normal, and perfectly ok, for a plan to change during execution. If something doesn't work as what initially looked like it would, don't hesitate: adapt to the situation and re-plan.

18. There is no 'best' way to write code

The implementation of a function can be different while it gives the same result. When something works, it works. Don't be too hard on yourself.

20. Avoid bad posture and RSI

I don't see this advice very often, but it's too important to leave it out of this list. You only have one body, so be careful with it. As a developer, most of your time will be spent seated behind a keyboard and monitor. Watch your posture and don't sit down for hours. Stand up every 30 - 50 minutes (or even more often) to get yourself a drink or walk a small distance.

21. Work hard, but enjoy your profession

Many people tend to work very hard but forget about the most important thing of all: you should enjoy what you do. Not every aspect of being a developer might be as fun as the other but focus on the initial reason and things that made you choose to do this profession.

Did you find this article valuable?

Support FuriousDev blog by becoming a sponsor. Any amount is appreciated!