If deterrence is the goal, then executions need to be as public as possible.
I'm ok with the death penalty in principle, but am against it for practical and political reasons:
1. too many wrongful convictions by overzealous and unethical DAs
2. I don't trust the government with the authority to kill its citizens for any reason.
Both of which stem from the fact that in the event of a mistake there's no undoing death.
If you're going to have a death penalty though; you need to do it right: gas chamber filled with
inert gas such as helium or
nitrogen (e.g not cyanide)