I had just finished coding one of the enemies our game , took like 50 minutes doing and testing everything.
Screwed up something and lost all work done on it.
First comes the desperation, then a feeling of “I don’t care, I give up, I’ll do something else”.. and then finally “Ok, I’ll redo it everything in 15 minutes now”.
Put the best song in my headpones and went in full-blast coding mode.
Redid all the code in 7 minutes, and in a lot cleaner and smarter way 😀
Every time you have to redo the same code, you do it better 😀