Hitting is never the best way to teach a child. Even in the case of real danger - as when a child runs out into the road - you can grab him, sit him down, look him in the eyes, and tell him why he must never do that again. The panic in your voice will communicate your message much more effectively than any spanking. You can be dramatic without being abusive.