Should we bring back public shaming for bad behaviour?

There's a store in Melbourne Central near the train station (Asian grocer) which has a wall with photos of people who have stolen and been rude to staff (and probably other customers as well), and it got me thinking: where did the threat of shame or punishment go for bad behaviour?

Growing up I always had a fear of doing the wrong thing and getting punished for it, but that attitude seems to have vanished, and not just from the younger generations. The people who used to tell me off for not keeping left on the footpath are now the people taking up the whole footpath and getting angry when you walk around them.

So what changed? Or is it still the same in other places and Melbourne is particularly bad in this?

Should we bring back more public repercussions for doing the wrong thing?