V
4

My first-ever code review made me delete my whole project by accident

I spent 6 hours building a little guessing game in Python last Tuesday, finally felt proud of it. A nice guy in the community asked to look at my code and pointed out one small typo where I misspelled 'function' as 'funtion' in like 10 places. While he was walking me through how to fix it on Zoom, I accidentally hit 'rm -rf' in the wrong terminal window and deleted the entire project folder. Has anyone else had a code review go sideways like that?
3 comments

Log in to join the discussion

Log In
3 Comments
mark_green
mark_green12d ago
That's rough but honestly makes me wonder if version control would've saved you from the whole disaster.
4
shanec61
shanec6112d ago
Agreed, git's saved me more times than I care to count.
2
iris_schmidt
Prove that by reverting back to before you wrote this comment.
4