I personally feel that it does. Studying science and math tends to weed out emotions, and fun is an emotion. I think this is why a lot of professional scientists come off as cold and unfeeling because emotion don't have much of a place in science. A lot of hardcore science people begin to forget how to have fun at all, and in the process they become almost more machine than human.