🎙️
16

Week where I accidentally deleted my whole project and rebuilt it in 3 days

Last Tuesday I was messing around in my code editor and hit `rm -rf` on the wrong folder while following a tutorial. Wiped out 2 weeks of work on a little weather app I was making, no backup (stupid, I know). Spent Wednesday through Friday rewriting it from scratch and honestly it turned out way cleaner and even works on mobile now. Has anyone else had a coding disaster that ended up being a weird blessing?
2 comments

Log in to join the discussion

Log In
2 Comments
garcia.tyler
Just set up git init before your next project and you won't have to learn the hard way again, trust me. At least you got a better app out of it though.
7
carter.laura
Oh man, @garcia.tyler is totally right about git, I kept putting it off until I learned the hard way too. I actually read somewhere that professional devs say the first version of any project is basically a throwaway draft anyway, so rebuilding can be a blessing in disguise. Your weather app sounds way better now that you got a second shot at it, especially with mobile support. I had a similar thing happen with a school project where my laptop died and I had to rewrite everything from memory, and somehow it came out with way less bugs than the original. It's like your brain figures out the important parts when you're forced to do it again fast. Glad it worked out for you, seriously.
6