A punishment may be said to be calculated to answer the purpose of a moral lesson,when, by reason of the ignominy it stamps upon the offense, it is calculated to inspire the public with sentiments of aversion towards those pernicious habits and dispositions with which the offense appears to be connected; and thereby to inculcate the opposite beneficial habits and disposltions.
It is this, for example, if any thing, that must justify the application of so severe a punishment as the infamy of a public exhibition, hereinafter proposed, for him who lifts up his hand against a woman, or against his father. See B. I. tit. [Simp. corporal injuries].
It is partly on this principle, I suppose, that military legislators have justified to themselves the inflicting death on the soldier who lifts up his la hand against his superior officer.IPML Chapter 14