Justice strikes me of an area where humans tend to reason intuitively. It's also an area that is extremely difficult to measure in any quantitative way. I would be highly interested in understanding what drives existing criminals--my own intuition tells me these sentences are not very preventative, but allow for the illusion of making progress against crime, particularly violent crime. (These people are monsters! Thank god they're gone for life, or the dangerous part of their life.)
It's not foolproof by any means, but I'm kind of comforted by the fact that the man who deliberately ambushed and murdered mom with a hammer, then later threatened to do something like that to grandma cannot, in fact, pay us a visit barring some failure of the prison system.
This presupposes we catch the criminals. This doesn't really match up with reality—it's actually quite difficult to get any conviction from some murder cases, for instance. In a limited sense, what happens to the individual doesn't matter nearly as much as laws affect crime rates.
I'm not talking about taking limbs and eyes here...