As has been said before we've been cleaning up garbage code for generations and that doesn't look even close to changing anytime soon.
100%, does it matter if I cleanup the mess of another dev or of an AI? I don't think so.
100%, does it matter if I cleanup the mess of another dev or of an AI? I don't think so.