No, never. But people have got to learn more humility and restraint. Too much spanking has been done in the past, because parents or teachers were impatient. They didn't want to take the time to communicate.
Spanking is traumatic to a child, just as 40 lashes are to an adult.
Out of perhaps a thousand spanks, maybe one is justified, if that many.
Love works far better. Spanking out of love can work, but love can't be a part of it if impatience is involved.
Example: First grade, West Texas, my first grade teacher told me not to tell any more science fiction stories of space travel in the classroom, because they frightened one little girl. Fair enough. This was 1956 and Sputnik was still only a sparkle in some Russian engineer's eyes. A few days later, in my enthusiasm, I told another story on the playing field outside of class. The little girl told the teacher. And the teacher pulled me into the rest room, had me pull down my pants and paddled me. Then she pinned a note to my chest and sent me home. My mother went ballistic, bless her heart. When I published my first science fiction novel, needless to say, I did not send that teacher a copy. Instead, I sent it to another grade school teacher who helped and encouraged me.
First off, the teacher didn't remember her own instructions. She asked me not to tell such stories in the classroom. Recess was not in the classroom. She could've talked to me and asked questions to clarify my understanding. But she was too impatient. Her rules and ideas were too important (selfish), so spanking was her way of "solving" the problem.
When I was 9 years old, my father read Dianetics and understood how the trauma of spanking can create far more harm than good. One day, he called me and my brothers to the living room. Each of us was wondering who would get the next spanking. Instead, our father apologized to each of us and promptly threw the spanking strap of leather in the garbage. I felt such relief and love for my father for doing that, that I broke with a 5-year feud I had had with one of my younger brothers (Larry). I asked him to come into the backyard where I asked his forgiveness for my behavior. Restraint from spanking can create some very positive effects.
If you ever spank a child, it has got to be extremely rare and because of extraordinary circumstances. They have got to understand full well why it is being done and that it is only out of love. Only then can spanking be done right.