Replying here to kempbellt, allovernow, and mcguire:
They were interested in "intimate relationships" with women. If I'm wanting to date a woman, I never bring up my tech knowledge. I tell them I'm an inventor who works on things that help people get things done, stop bad folks, etc. I tell them the goals in terms of what effects it has on people with no details. Women like that since non-technical ones see its value and more-technical ones still focus on people effects a bit more than guys. If woman wants tech details, I give them that. Virtually never happened outside tech-focused places like HN or Lobsters.
I talk abstractly about it because the second I mention code I get tuned out, friend-zoned or some association with Hollywood's nerd characters (eg Big Bang Theory or some nerd on cop show). That's how most of them think across the tens of thousands I've interacted with in customer-focused jobs, parties, and public places. You don't even have to come onto them or anything to find out: just bring up tech in a 3rd-person way... 3rd person to separate it from yourself in their perception... and watch how they tune out, cut it down, or otherwise mentally shift gears.
I stay on what they're likely to be interested in, be my fun/somewhat-bad self, etc. Once they know and like me, I drop some of that tech stuff in there. If anything, they just nod like it's some weird hobby I have, a nice thing to do on the side, sometimes just confused about a useless thing I do, or whatever. There's no strong connection most have to it that would benefit me in the slightest. I'm just telling them about it to be more honest at that point. Then, I usually move onto other topics with most people, esp women, often forgetting I even do tech. That's intentional given I lose opportunities with most people due to that association.
It's rare that anybody outside tech areas thinks that stuff is neat or important. And those are almost always married. (sighs) Well, they still make good friends and coworkers. I tell them that, too. Always gets a smile or laugh out of them. Meanwhile, it's a hard fact that most women aren't into guys that engineer, code, or secure things.
Epilogue: Funniest part is that most people talking about sexism in coding will tell you all kinds of ways society keeps women out of it. The actual sexism keeps women uninterested in deep, hands-on tech while reinforcing their interest in other things. Then, some of you talk about how it's sexist to think most women aren't going to be interested in tech or tech workers. I mean, it's a natural effect of both womens' interests in general and sexism that pushes women away from tech. Be consistent people.
"I've met women in the industry that are just as capable as nerding out over new tech as I am"
Adding this in there just in case anyone misreads my reply. In industry or tech-anything, we should ask open-ended questions to get to know each other instead of assuming anything. Folks will definitely meet others super-interested and capable in tech that they might not have expected to meet. There will be plenty of women along that path since they went to those places specifically because they were interested in tech, were nerds, and so on. This gets us back to don't judge people in general until you've had a chance to meet them. Look at meeting each person as maybe opening up opportunities for who knows what.
The person I responded about was talking dates and meaningful relationships outside work, though. That's a different thing altogether. That's what my comment addressed.