I used corporal punishment - under strict limits - but I believe now I could have done without.
Raising teenagers convinced me the important qualities are self-control, consistency, and follow-through.
Whatever you consider intolerable and make sure is so, your children will adapt. I find screaming, whining children intolerable. This means I make sure I do not tax my children beyond their limits. They have naps. They eat when hungry. And they leave the mall early if they can't behave. I had a glove box stash of treats ready to give out AFTER the outing, and I made sure my toddlers knew what was expected to earn them. My no was no and was a definite no if a whine was attached. I don't scream or whine myself. I demonstrate self-control. If a whine is building, chances are the child thinks they are not being heard. Give a moment of full attention, let them know you heard them, then let them know that whining is not an option. Teach them civilized ways of getting their message across. I told my granddaughter these are negotiating skills and I taught her a few myself.
I think my granddaughter was no more than three when she first started building up a good whine in front of me. Her mother was upstairs on the computer. Naomi was downstairs with me. "Naomi," I said directly, "You have two choices. You can go upstairs and tell your mother that she has had enough time on the computer, or you can sit with me and watch the TV. But whining is not an option." This mournful three year-old gives me a miserable stare, pauses a moment, then declares, "I am going to go see my mommy!"
"Good", I said, "that is better than whining."
She stomped her miserable little butt up the stairs, mad that she did not have a good retort handy. After all, she was only three years old.
As adults, surely we are more ingenious and experienced than our darling progeny. There are always ways....