At big companies you often run into old terrible code thatās still not been fixed and curse the person that wrote them years ago. Iāve done it plenty, I canāt help it.
I was once the first engineer at a startup and was there for 14 years. So Iāve been in meetings where a developer was cursing whoever wrote some piece of crap 10yr old code, and it was oftenā¦me. Why didnāt you use the factory pattern, why didnāt you document store this instead of using mysql, etc.
So sometimes I try extra hard to remember that smart well-intentioned people made the best decisions they could using the information they had at the time. The tradeoffs they made aren't always immediately obvious a decade later. But the fact that the project is still running 10 years later is a testament toā¦something.
Also- this is why you/we were hired; to fix the shit code instead of just complaining about it.