system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5:Why is a cold-boot bad for my computer?

Cold-boot/Hard-boot: Killing the power to shut down. I have always been taught that it's bad but never exactly why. If the programs on the computer are designed to run in the same way every time they're loaded, why is this bad?
gpt
Because some programs hold disk files open with data cached in memory. If the machine is shut down in that state, not only is cached data lost, the file on disk can be corrupted. There are more possibilities for corruption, but that's the main one.