A penny for her thoughts!
I went on with my project after work yesterday but I got so tired that I didn’t come very far. My initial plan was to get lots of complicated pieces out of the old version and rebuild from there. But I see now why I went there and most of the things make much more sense after understanding the code better.
That’s a typical thing. You look at some unknown code and have all those moments where you assume things to be overly complicated. Only after you’ve gotten to a broader understanding of the code you see the actual reasons for those decisions.
My little advice as a senior engineer: Don’t trust your first impression on others code. It’s probably too complex to immediately see the reasons for many decisions.
Did you have similar experiences? Tell me in the comments!