Spent 6 months writing code that was way too complicated before I figured it out
I had this project for a little weather app I was building, and I kept adding more and more layers to the code. Thought I was being clever by making everything super flexible and future proof. Then my buddy looked at it and said, "Why do you have 8 different functions just to check if it's raining?" At first I got defensive, but then I actually looked at what my code did versus what it needed to do. Turns out 90% of what I wrote was just me showing off, not solving the actual problem. The fix was deleting half my code and starting over with simple if statements. It was embarrassing but honestly the best lesson I've had so far in this whole coding journey. Has anyone else caught themselves overcomplicating a simple thing and had to walk it back?