Yes, it's much easier to hit Undo than it is to remove that bolt that you just snapped the head off, but you can't see because it's elbow deep in the engine bay.
On the other hand, a screw-up can have bigger consequences when your buggy code is used by thousands of users a day.