How to become a better developer

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

But, there are more things that matter when we want to become more productive and better a…


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Lars Wolters

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

But, there are more things that 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).

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 of doing things (or not doing things).

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 familair 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 really know the basics

More than often, it all comes down to the basics. Make sure you know it and that you are able to 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 whether someone knows a thing that you know.

8. Write your tests

As Gandalf once said, "one should never underestimate the power of a tested codebase". No, but seriously — it grants great stability and might save you a lot of debugging time in the future.

9. 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 a better answer that fits your case.

10. Write comments where needed

It might happen that your code is 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.

11. Stop distracting yourself

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

12. 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.

13. Never ship right before the weekend

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

14. Learn more about design patterns

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

15. Look for & 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.

16. 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.

17. Aim for functionality, not perfection

No one's perfect: 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.

18. Plans are allowed to change

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

19. 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.

Bonus: 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.

Conclusion

I know that this list isn't very code orientated and doesn't contain any code snippets. But, after I've been doing development for years in my free time and as a full-time job, these things are incredibly important for me to stick to in order to stay productive and motivated. There are many advices and reminders that I would like to share, but that's something for later. I hope that atleast one of these tips might help you in you and thank you for reading 🙂


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Lars Wolters


Print Share Comment Cite Upload Translate Updates
APA

Lars Wolters | Sciencx (2022-09-13T21:10:21+00:00) How to become a better developer. Retrieved from https://www.scien.cx/2022/09/13/how-to-become-a-better-developer-2/

MLA
" » How to become a better developer." Lars Wolters | Sciencx - Tuesday September 13, 2022, https://www.scien.cx/2022/09/13/how-to-become-a-better-developer-2/
HARVARD
Lars Wolters | Sciencx Tuesday September 13, 2022 » How to become a better developer., viewed ,<https://www.scien.cx/2022/09/13/how-to-become-a-better-developer-2/>
VANCOUVER
Lars Wolters | Sciencx - » How to become a better developer. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/09/13/how-to-become-a-better-developer-2/
CHICAGO
" » How to become a better developer." Lars Wolters | Sciencx - Accessed . https://www.scien.cx/2022/09/13/how-to-become-a-better-developer-2/
IEEE
" » How to become a better developer." Lars Wolters | Sciencx [Online]. Available: https://www.scien.cx/2022/09/13/how-to-become-a-better-developer-2/. [Accessed: ]
rf:citation
» How to become a better developer | Lars Wolters | Sciencx | https://www.scien.cx/2022/09/13/how-to-become-a-better-developer-2/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.