Front end developer specialising in JavaScript and React. Experienced in all aspects of modern front end development. Passionate about making accessible, secure and performant software.
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.
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.
yeah! small git commits are very helpful