DEV Community

Discussion on: Developers do silly mistakes...

Collapse
 
sargalias profile image
Spyros Argalias

It's the nature of things. That's why we have so many error correcting tools and so many practices to double check our work.

I make mistakes all the time. I try to avoid them by doing work in very small iterations. Either TDD or just developing very little and writing a console.log statement to see if things are as expected so far. Then create a temporary git commit in case I mess up in the next 3 minutes. Repeat.

That way, I keep debugging to a minimum, compared to coding for 30 minutes and then having to debug all of my work.

Collapse
 
shareef profile image
Mohammed Nadeem Shareef

yeah! small git commits are very helpful