I've never needed to smack a child. Appropriate voice tones work better and don't instil resentment - same principle works with other animals - eg. dogs, horses and cats.