If I get kids [very likely if I get married], I wouldn't mind seeing my kid having to write "I will not curse in class anymore." up to 100 times on a chalkboard. If he cursed in class, he pretty much deserves it.
FAILURE forces an individual to learn from his or her mistakes so that they won't repeat them in the long run.
If a parent's child is not disciplined enough to learn manners or learn from mistakes, then that child WILL grow up as the kind of person who would ignore orders from his/her employer at McDonalds or from his/her superviser and/or First Sergeant in the military.