Flogging? Yes. But also the pillory.
Some crimes cry out for the perp to be pilloried in the public square, where passers by can pelt the perp with rocks and garbage.
Good points.