22
Hit 100 commits on a side project today, still feels like junk
Been working on this Python script for 6 months and finally pushed the 100th commit. But the code is still a mess and I'm the only one who uses it. Anyone else hit a random number that made them stop and wonder if they're actually learning anything?
2 comments
Log in to join the discussion
Log In2 Comments
webb.jordan1mo ago
100 commits is just enough to know you've made all the mistakes more than once but not enough to fix them yet... classic. I've got a backup script that's basically held together with duct tape and spite at this point, but hey, it works until it doesn't. The real test is when you delete the whole repo and start fresh, which is basically like committing code suicide.
2
gavine411mo ago
Yeah "committing code suicide" is a good way to put it. I did that once with a side project and honestly it was the best thing I ever did for it. Instead of trying to fix all the bad decisions I just sat down and wrote out what the script actually needed to do on a piece of paper. Real basic steps. Then I rewrote the whole thing from scratch in about an afternoon and it was way simpler. Sometimes the duct tape gets too thick and you just gotta rip it off and start over.
3