I disagree. Bashar al-Asad has killed 8300 Syrian in the past 11 months, and now the country is on the verge of civil war. Some crimes deserve death penalty (though, obviously writing an open-source app does not qualify!).
It's clear that fear of punishment does not deter crimes; otherwise death penalty states would have no murders.
I suppose what makes the death penalty different is that you can't fix injustice after the fact. Once it's carried out, it doesn't matter whether the verdict is overturned.
Evil being the keyword.
Although there may legitimately be a need to help this person, the story definitely serves the purpose of those that wish to motivate the long-planned war with Iran.
Iran became a dictatorship because that was the way the US wanted it.
Nothing that Iran does to any web programmer justifies an invasion, bombing, or World War III. People don't realize that's what's at stake here. That is what these stories are about.
Look at a map. Look at where Iran is compared to Iraq, Afghanistan, Syria, Libya. This isn't about a web programmer.