Defining spanking as carefully administered swats that cause surprise and pain, but do no harm, yes, spanking has a place in upbringing kids in our families.
Here's how:
Between birth and about 18 months, never...too young
Between 18 months and about four, it works well...
After thirteen it is useless.
Between eighteen months and four years, logic doesn't reach them, timeouts mean only that "if I wait long enough, I get to go back to what I was doing if I want to." Very few parents can maintain the vigilance necessary to keep a determined young'un from doing what he/she is set on doing with the "time-out" method. Kids train their Moms to let up or give in, because Mom wants/has to do other things, and the kid can/will focus on what he/she wants to do. When home, Dads can focus and do battle with the kids' wills, but few do. Mostly, kids become aware that crying loudly (esp. in Public settings) inflicts torture on Mom, and they train her to ignore repeats of the bad activity, and/or force/train Mom to give them second/third/twentieth/three hundred seventy-third tries at the forbidden course of action. It is during this period that "forbidden course=pain" works best. Kids of this age cannot mentally connect happy parents with increased freedom, or stern voice with "bad things are gonna happen later"
After age ten to about thirteen, the stern "talking to" was the worst.
Somewhere about age thirteen, nothing reaches past the mental armor, and in my case, I could easily take more physical pain than they wanted to dish out. Then, the worst was restriction to home/no allowance/no friends over.
After I started to drive (age fifteeen), take the keys, and you have my complete attention - (did you really want that?) - the mental/verbal fighting could go for days and weeks. I just started to stay gone till late in the day, and leaving early.