💡
3
c/coding-for-beginners•susanb34susanb34•6d ago

Had a week where every line of code I wrote broke something new

Last Tuesday I spent 4 hours debugging a single typo in a CSS class name on my first HTML page, and by Friday I had accidentally deleted my entire database three times trying to fix it. Has anyone else had a week where every beginner mistake just snowballed like that?
3 comments

Log in to join the discussion

Log In
3 Comments
spencer782
See I kind of disagree with this narrative that it's all just bad luck or being cursed. Those three database wipes probably happened because you didn't have a backup strategy, not because the universe is out to get you. A single typo taking four hours means you might need to slow down and actually read your code instead of just blazing through it. I've made way more progress since I started treating every error message like a puzzle instead of a personal attack.
6
holly_reed55
Changed my whole mindset honestly. The puzzle thing actually works.
5
nathan901
nathan9015d ago
Made a typo in a CSS class name and spent an hour staring at it before I realized I was ALSO looking at the wrong line in the code. Triple checked my backup strategy right after that mess.
3