As a parent if this was done to my child I'd be down to that school and ripping out said 'teachers' organs with a spoon.
No vestige of a beginning, no prospect of an end.
If you need to hit kids to make them behave, you're in the wrong job. I saw a teacher hitting a kid in my school and I wrote a policy to stop it. It now doesn't happen in our school. I don't blame many kids for bad behaviour here when the style of teaching is often so boring. However there must be a better way of disciplining, starting with a bit more praise but really just by making lessons a bit more active and a hell of a lot more interesting.
A start : Smaller classroom size