Treat new code like a contract. It should do no more and no less than the contract specifies. Your code may be capable of handling the project requirements, but that doesn’t make it incapable of doing more or less than it’s supposed to. Don’t allow your code to breach the contract.