DEV Community

Discussion on: What are your worst coding habits?

Collapse
 
flexdinesh profile image
Dinesh Pandiyan

Step 1: Spot a code smell
Step 2: Add a // TODO comment
Step 3: Never get back to it

Repeat.

This is the story of my dev life 😔

Collapse
 
foresthoffman profile image
Forest Hoffman

If you're a VS Code user, checkout the Todo Tree extension.

It's a nice alternative to searching in all files for // TODO or // DEBUG before commiting!

Collapse
 
reebboot profile image
John Dev

Good tip 😉