Why are people against parents lashing their kids?

As disciplinary measures ,I'd get my ass whooped by my parents for messing up,disrespect, breaking things.

As a learner, I got lashes (buttocks and palm,back at times) for being late, failing tests, not following rules; this was from Primary to SHS1.

I and people who got lashed learnt from them. Why is there such an uproar against parents lashing kids?