What this person did is totally inappropriate. I would have asked to see their dress code. Many golf clubs/courses will say "collared shirts" and "no short shorts; Bermuda shorts acceptable".

My best guess is you were dressed fine and he was just being bias.

I would not let this person deter you from learning the fun (& frustrating :rolleyes: ) game of golf.