I have had numerous dogs and have never had to strike one to get them trained. I find that use of rewards and tone of voice is sufficient.
If that worked with humans, we wouldn't need the military.