Clementine, thank you for writing this: you are truthful and brave. The director you refer to is a sexist bully, and has set an organizational tone which is uncomfortable and upsetting (for you and I presume for your co-workers). I wish you happiness when you leave that place, success on your university course, and joy in coding. I expect you will have an interesting and exciting career: with your background in sociology you will bring insights and ideas that many other programmers will not have. Good luck!