DEV Community

Discussion on: What are your worst coding habits?

Collapse
 
karataev profile image
Eugene Karataev

It's hard for me to work with poorly written legacy code.
From one side I want to rewrite a module I'm working on to meet quality standards. But from other side usually the module is connected with other modules in an unpredicable spaghetti way, so refactoring might be a very deep rabbit hole. And there are always deadlines.
So my bad habit is procrastinating when I face such problems. I need to get a cup of coffee or scroll through twitter for 5 minutes before I can return to the work 😂