Allegedly taught to be an officer and gentleman in 1953, expected to wear a hat in civies, and raise your hat when meeting a lady.
Not sure how much of it stuck, do wear a hat now, having run out of hair.
Did get an excellent wife, not sure how much the training worked towards that