Being a bed wetter as a young kid, the subject always strikes a note with me.
I wasn't shamed, or punished in any way when it happened, except for maybe a bit of sibling teasing. The whole experience was nasty enough, without the people you trust and love betraying that love and trust.
Some people might not be so evil in what they do however. Sometimes parents lack the skills and tools to deal with lots of situations like a bed wetting child. They do the best they know how, and in some cases what they experienced in their own young lives. They may love there kids, but don't know a good way to deal with the situation.
And on the other hand we have the A holes who do get pleasure from treating a child badly.
When I was young I learned, we will all have a day we must atone for our sins we have committed in life. I like to believe this will be so. Just think if it is so!
I'm lucky, my bed wetting didn't last long for me. I always wished, I would have had diapers to wear back then. Would have been a much better time.
If my children turn out to wet the bed, my aim is to make sure they are secure, and have as little anxiety as possible. If they need a diaper to get through that, then can't see why not.