Coding habits you should adopt

Photo by Lala Azizli on Unsplash

Coding habits you should adopt

Mentoring

Solving probles requires lots of brainpower and focus. Coding is one of those jobs where you have to mix your creativity with logic. I am sharing some tips on the coding habits you should be developing for better performance

1. Planning the project before coding

!!!never rush into coding before planning carefully.

Planning will help you write qualitative code and save you time in the future

2. Write small Single-Purpose methods and test them

Write small functions that perform only one task! This makes the testing and debugging process much simpler and easy to do. Adopt Clean Code best practices.

3. Add comments for your future self

This simple habit has been a game-changer for me. For any piece of code, I write “why” instead of “what” the code does.

4. KEEP LEARNING

This one is one of the reasons why I love Software Engineering. Even though we are masters at some technologies we need to always learn new things to keep up with the industry! Never stop LEARNING!!