A lesson I took away from my time at Dropbox, and their impossible to maintain codebase, dev env, and decade-old (in 2015) version of Pylons (a Python framework):
None of that shit matters. Code comes and goes, and you can always throw it away when you need to do something new.