It has remained my belief that public punishments are much, much more effective and it is even possible to reduce the number of strokes as a consequence. Even a small audience seemed to have quite an effect on the individuals being caned.
A friend once told me that the most humiliating punishments were given to him by his headmaster in the presence of his mother.