What was the importance of the publicity of corporal and capital punishment in colonial times?

What was the importance of the publicity of corporal and capital punishment in colonial times? Reflect on how people might view this if it took place today. Do you think it would be beneficial or harmful in today’s society? Explain your reasoning.