I take the point (all the I don’t think it’s sadistic as it was fully sanctioned by God). I do think there is something to having the community play a role in carrying out capital punishment though. Without that people wash their hands of what happens. If you had to carry out the sentence you would either not want capital punishment or else you’d want to be damned sure that the criminal is 100% guilty of the crime.
This approach works for those who value life (Judaeo-Christian belief) and probably not so much for those who value death (Muslims in the Middle East....Though not all I’m sure)