Steal items worth 12 pence? Hanged. Lesser amount? Cut a hand off. If lucky, commuted and deported for indentured servitude in the colonies. Treason? Hanged, drawn and quartered.
As we remember from history classes, stealing, murder and other crime ceased to exist by the 17th century. Oh, hang on a minute. It was so ineffective that juries started nullifying and deliberately under-valuing property to avoid the incessant death penalties. It was just yet another means to oppress the lower orders. Unsurprisingly much of the 18th century consisted of successive legal reforms.
What works? Not prisons, not punishment, but rehabilitation. proven time and time and time again. Not very popular with the hang 'em and flog 'em types on the right though.