While not strictly related to programming, this is very surprising and harmful behavior that demonstrates how important thinking about edge cases is.

  • For example, if you Control+V-d the files into the wrong folder in windows explorer. I’ve undoed copies many times this way.

    However, the post doesn’t mention whether this behavior is present with Ctrl+Z as well. If so, that’s even words, because you wouldn’t even get to read the action you’re about to perform.