If you allowed yourself to get out of control in a heated argument and struck your significant other?
I've never hit anyone in my life so I'm probably not going to start doing it in my 60s. But one of the things I have consistently noticed is that when I do something I'm not proud of, I remember how it feels afterwards, and it makes me less likely to do it again.
When we got our first dog I spanked him on the butt a few times. That's a grey area when it comes to condeming "violence" because after all dogs can't talk and they often communicate with each other by force. How else can you get their attention? But I just didn't like the way I felt afterward and eventually stopped. That dog died in 1989 and I haven't done it to any of the myriad dogs we've had since.
I would suspect that at least some people would have the same reaction to facing the fact that they hit a human being, especially one they love. It might be such a horrible thing to live with that they could never bring themselves to doing it again, no matter how angry they get.
I have a bad temper, so this is something I worry about.
But it's possible to express that temper in other ways which ultimately are more satisfying. Learn to communicate better. When someone or something makes you angry, just yell about it using a rich and precise vocabulary, and tell people in excruciating detail what you're going to do if it ever happens again.
Our species has the unique gift of language. We don't have to hit each other. We can hurt each other better with words.
And remember, when you're angry, more often than not the person you're angry at is yourself. Don't take it out on somebody else just because they happen to be there.