the locals who really want to do those things have long moved out of the country. those who choose to remain here enthusiastically enforce the order of the country. caning and hanging continue to enjoy popular support.
As for capital punishment: I'm not a fan. But have a look at the numbers on https://en.wikipedia.org/wiki/Capital_punishment_in_Singapor...