DEV Community

Discussion on: What are your worst coding habits?

Collapse
 
helenanders26 profile image
Helen Anderson

Being too lazy to turn off 'helpful' system settings, like the one that autocompletes a closing bracket. I used to end up adding a closing bracket myself and then having too many so had to hit backspace to get rid of one.

Now that that has become muscle memory, whenever I'm not using that tool I hit backspace on autopilot even though there is no 'helpful' closing bracket to get rid of.

Collapse
 
ben profile image
Ben Halpern

Ah yes, been there.

Collapse
 
moopet profile image
Ben Sinclair

I do this all the time!
It's all muscle memory now.

The other way the IDE gets in my way is when I want to add a closing bracket or parenthesis but my cursor is already immediately before one and the editor treats it as if they're the same - so I think I've added enough, but oh no.

Collapse
 
helenanders26 profile image
Helen Anderson

Ugh. Instant rage quit.

There are also some strange moments when the cursor just vanishes completely and I don't know where I am anymore.