Reading about how some people received certain punishments, some even similar to or aligned to (near-) abuse, I didn't have that type of strict parenting.
I got spanked once in my whole life. It was a decision that was regretted immediately after.
I was raised by stern rules, both my parents made sure to both decide on the matter. However, one of them did have more 'authority' in a way than the other, as one was more home and took more care of me. If I would be difficult? If I wanted, really wanted to do something and it wasn't allowed?
I got told off and was explained why I shouldn't do it.
I was explained the differences and similarities between situations, and that made me understand not to do it (again or at all). I was encouraged to do things. By myself and with my parents.
Oh, and one time I was messing around, which I barely ever do or did, and I didn't want to go with them. "Fine, then we'll go without you." And they would. Of course, I found out way later they wouldn't keep their eye off of me, but I didn't know at the time. At the time I surely didn't want to be left alone

I thought they were going to actually go through with their threat and they did x3
Got good grades in school, always wanted to strive to be a good person, I feel physical punishment is most unnecessary in most situations and can actually traumatise a child. I still to this day -even if I was spanked once- can't even recall why I was punished and feel some injustice was done.
This is just my personal experience though and it is interested to read other experiences as well.