What are the key differences in coding for centralized systems versus decentralized systems like DeFi?

The key difference in coding for centralized systems versus decentralized systems like DeFi is that the code of a smart contract can not be edited once it’s deployed.