At different times, at different stages of civilization, and according to the current views of the universe, society has interpreted in different ways the punishment it inflicts and which it carries out by forcible means, so as to ensure respect for its laws. Its original character is that of revenge for an offence. The wrongdoer has offended the community, it attacks him furiously and breaks every bone in his body just as an angry individual would do in his first access of indignation. That is Draco's penal code. That is the law of literal requital. The special characteristic of this sanction is its violence and lack of moderation. It does not trouble to find the right proportion between punishment and crime. It does not carefully and fairly weigh the force of its blows. The club falls with a frightful crash, but its dynamical effect is not calculated beforehand in kilogrammetres. "The stab of a knife is not measured," as an Italian proverb says. Thus conceived, punishment has something primitive about it, something intolerably barbarous. The community does the very things it was created, by Morality and Law, to prevent; it exercises the right of the stronger against the challenger; it promotes war, not that of all against all, but of all against one, and its punishment is an act of war.
In a strongly religious society which lives in the idea of immediate community with the deity, every transgression of the law is felt to be a sin against the gods, and the punishment becomes an expiation offered to them so as to avert their dangerous anger from the commonwealth. In the administration of justice dim religious ideas are mingled, punishment is tinged with a veneer of civilization, the culprit is, so to speak, offered as a sacrifice to the gods. This supernatural view was prolonged by the Inquisition, at least for a certain class of offences, until almost modern times.
When society awakens to the consciousness that its bond of union is Morality, and that its most important task is to educate its members in Morality, it introduces the concept of betterment into its penal system. It wants not only to punish the wrongdoer sharply but also to transform him inwardly and purify him. He is to feel that the punishment is not only a requital but a mental benefit. In the Austrian army, until corporal punishment was abolished, it was a rule that the soldier, after being flogged, should approach the officer on duty and say, as he saluted, "I thank you for the kind punishment." That is the attitude that society, when it gives a moralizing tendency to its penal laws, wishes the person who has been punished to attain. In this there is much pleasing self-deception not unmixed with a good deal of hypocrisy. Penal law offers the wrongdoer but little scope for improvement.