We still need a viable alternative that is both a deterrent and allows for rehabilitation and reintegration. I think things like prison, corporal punishment, exile, etc., are good deterrents but they're horrible at reintegration which is why prisons have such a high recidivation rates. On the other hand, community service isn't a high enough deterrent and flat fines disproportionally affect poor people.
> I think things like prison, corporal punishment, exile, etc., are good deterrents but they're horrible at reintegration
Not sure I understand. Corporal punishment doesn't have a problem with re-integration because no one is removed from society, and the whole point of exile is you will never be re-integrated into society. Only prison has to deal with the problem of how to re-integrate people.