Some kids need a swat, but it should be delivered out of sight, not in front of the class.
There’s something to be said for a good ole fashioned public shaming......