It is barbaric, and it's clear the Iran has begun to realise that as it's moving away from using it as a punishment (see my earlier comment).