True. The issue is in the execution and consistency. Physical discipline should be administered with discipline.
Too many parents resort to physical punishment due to anger and frustration which not only sends the wrong message to children, but is often applied inconsistently in frequency and degree. Terrible and will probably backfire.
If one is going to use corporal punishment, it must be done dispassionately and as a consequence of established boundaries.