"Do you think my gender has anything to do with my job as a developer?"
It does tangentially, as gender is one of the many ways you bring diversity to a team, but it doesn't have anything to do with your job as a developer. If your classmate treated you like any other classmate, then that's all he needed to do to make you feel included. I'm guessing some of your friends said, "He was just trying to be nice and include you in the discussion". But your classmate could have done that without calling out what made you different from the rest of the group. A simple, "What do you think?" would have sufficed.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
"Do you think my gender has anything to do with my job as a developer?"
It does tangentially, as gender is one of the many ways you bring diversity to a team, but it doesn't have anything to do with your job as a developer. If your classmate treated you like any other classmate, then that's all he needed to do to make you feel included. I'm guessing some of your friends said, "He was just trying to be nice and include you in the discussion". But your classmate could have done that without calling out what made you different from the rest of the group. A simple, "What do you think?" would have sufficed.