Your buddies point is well taken in the corporate realm..You need to consider the fact that not everyone is happy for another’s mans success..jealousy is an unfortunate fact of life..
Also, people who work for others in the corporate setting have a very different situation than someone self employed..We who are self employed have many reasons not to discuss income..
Additionally at the height of my day I employed 15 people, as a business owner I don’t want employees sharing their salaries..
As an owner I designate worth differently than some employees do.
You need harmony on the job site and I have experienced many times when salary info getting out has caused dissension among the troops..
Lastly being successful and not attaching to much grandiosity to it is an important thing ..It helps to stay grounded , remain humble, and live with gratitude..I don’t think there is a correct approach, just correct in regards to each individual living and sharing in a way that makes them comfortable.