It is definitely old-school practice. Our parents did it, their parents did it to them. It was* considered one of the "top" parenting styles, in order to bring up disciplined and respectful children.
Nothing could have prepared us for the massive impact we would see nowadays on adults who have been spanked when children. No one could have foreseen the trauma it caused and the shame, the sadness and the disgrace it brought along.
*I say "was" because I prefer to hope that this practice belongs to the past. It horrifies me to think that some cultures or sub-cultures still believe in this practice.
How to Stop Perfectionism
How much of a Perfectionist Are You
From Conflict to Connection