We deleted months of code last week. Probably the best and worst decision we've made.
This is a bit of an embarrassing one to post, but I figured I should post anyway!
We threw out most of our codebase last week and started rewriting from scratch. And before anyone says it, I know. I know!
The thing is, it wasn't even broken; it worked. But it had gotten to a point where I commented out so many things that a random code was showing up, and no one knew where from because of bloating!
We kept telling ourselves we would clean it up later, but eh! So we just ripped it off like a Band-Aid and started over to keep everything as simple and readable as possible.
It is supposed to help founders create without the chaos. Felt a bit hypocritical that the product itself had become chaotic behind the scenes. We are a few days into the rewrite now, I think 2 more to go.
Has anyone else done this? Like, fully started over? I mean, we can since we know what we built; it was just too messy for staging and CI/CD, so we took this step. A weird decision for sure.