Home /
Blog /
My five rules for efficient coding
- I use the Pomodoro method in order to stay productive during the workday. When I take a break, I switch the type of activity. This means no phone during breaks—I prefer stretching or walking.
- When I'm stuck for 10 minutes or more, I take a walk or make a cup of tea. It usually helps me come up with an idea on how to resolve the problem.
- At the end of the day, I leave the "IMHERE" mark with a small description of the context. Then the next day, I don't need to spend time remembering where I left off yesterday or the last time I worked on the task.
- I use a lot of hotkeys in an IDE when I write code. It allows me to stay more focused, as I don't get distracted by searching for UI control elements. It probably took me one or two months to come up with my personal set, but the result was worth it.
- I like to give myself a certain amount of time to think about how to solve the task before writing a single line of code. This way, I can create a plan, consider the pitfalls of every solution I come up with, and carefully choose which approach is most suitable for the task.