DEVSHI MEHROTRA couldn鈥檛 speak highly enough of her three-month internship with聽Google鈥檚聽artificial intelligence project, Google Brain, this summer. 鈥淥h, it was so great,鈥 says Mehrotra, a 19-year-old computer science major at the University of Chicago. 鈥淚t was this program tailored to people with my background — women, people of color — and it was an environment that really pushed me to work as hard as I possibly could.鈥 But as career-affirming as her internship was, Mehrotra鈥檚 time at Google coincided with several public revelations about the way women are treated at the company. According to an internal spreadsheet of base salaries reported on by The New York Times, women are paid 4% to 6% less than men at nearly every job level at Google. The company is also under investigation by the US Labor Department, which alleges widespread gender-based discrepancies in pay. (Google, which declined to comment for this article, has denied these accusations.)

Mehrotra was also at Google in August when a 10-page, 3,300 word manifesto written by one of the company鈥檚 software engineers went public. The memo鈥檚 main conclusion was that women are underrepresented in tech because their biological differences from men tend to make them less suitable for the job.

鈥淚鈥檝e really struggled with what to make of that,鈥 Mehortra says. She says she felt nothing but encouragement and support at Alphabet, Inc.鈥檚 Google, and yet, here was definitive proof that at least some employees believed her gender might play a role in her ability to do the job well. 鈥淚 read the memo. I saw how the other women at the company were so upset. I overheard their conversations.鈥

It鈥檚 been a particularly restive moment for women in technology. In addition to the Google memo, there鈥檚 also been the unending debacle at Uber Technologies, Inc. and another brewing at Social Finance, Inc., along with sexual harassment allegations at venture capital firms including Greylock, Ignition Partners and Binary Capital. In July, 500 Startups鈥 founder resigned and apologized for 鈥渂eing a creep.鈥 This adds up to more than a social or legal concern for tech companies. This fall, many will offer jobs to their best summer interns, hoping to secure them as employees after they graduate. As female computer science students weigh their career options, their decisions may rest on more than just job title and salary.

鈥淭he good news is that I don鈥檛 know anyone who鈥檚 decided not to go into computer science or tech because of this,鈥 says Emma Pierson, 26, a data scientist currently earning a Ph.D. in computer science at Stanford University and who has worked at the genetics company 23andMe, Inc. 鈥淭hat said, the degree to which a company is known to have a gender problem will absolutely guide my career decisions.鈥

That鈥檚 something founders and executives may not fully understand. Silicon Valley firms claim to want more women; many of them are enthusiastically funding science, technology, engineering and math (STEM) programs for school-aged girls, hosting all-female hackathons and launching internship programs tailored to women and minorities, including the one Mehrotra participated in at Google. But only 18% of computer science graduates are women (at Stanford, the number is higher, at 30%) and if a significant number of them eschew a company because of its bad reputation, there won鈥檛 be many left to choose from.

The dozen or so women interviewed for this story differentiated between the general aura of misogyny they see as prevalent in tech and more specific situations like the one at Uber where, former employees allege, multiple complaints of rampant harassment and retaliation were routinely ignored.

鈥淚鈥檇 never accept an offer from Uber, ever,鈥 says Courtney Thurston, a computer science major at Embry-Riddle Aeronautical University who鈥檚 currently interning at Microsoft Corp. 鈥淚鈥檇 be very reluctant to work at Uber,鈥 echoes Pierson, from Stanford. A spokeswoman for Uber said the company is undergoing a cultural transformation — some 20 people were fired as a result of an outside audit of previously reported harassment complaints, and the HR department is growing — and the company hopes in time people will change their minds. But if enough women feel the way Thurston and Pierson do, it鈥檚 going be hard for Uber to make good on new Chief Executive Officer Dara Khosrowshahi鈥檚 promise of a significant culture change.

Shreya Shankar, 19, a computer science major at Stanford, chose to intern at Facebook, Inc. this summer, partially because she鈥檇 heard positive reviews of its workplace culture. She says she turned down a job interview with Palantir Technologies, Inc. over political concerns. Palantir cofounder Peter Thiel is one of President Trump鈥檚 few outspoken supporters in Silicon Valley, and, Shankar says, 鈥淚鈥檓 very anti-Trump in my beliefs.鈥

Issues like Google鈥檚, on the other hand, have yet to become the deal-breaker that Uber鈥檚 might be. Many women say they鈥檝e already encountered similar instances of sexism at school or in their own fledgling careers and aren鈥檛 surprised to see them flare up at major companies, too. 鈥淚鈥檝e encountered people who believe some of what was in [the Google memo],鈥 says Julia Di, 21, who鈥檚 studying electrical engineering and computer science at Columbia University and has interned at both NASA and Lockheed Martin Corp. 鈥淓ven my freshman year coding class had a lot of guys who were condescending.鈥

Women鈥檚 willingness to pursue careers in spite of rampant sexism shouldn鈥檛 be read as complacency. One Brigham Young University student refused a job offer from a small start-up because it didn鈥檛 have a formal sexual harassment policy. A Concordia University student says she judges a company鈥檚 fairness to women by how robust its parental leave policies are. Students compare notes about which summer internships are better than others. 鈥淚 have friends who interned for other companies and had bad experiences,鈥 says Nina Tchirkova, 19, a sophomore at Olin College of Engineering who interned at Google this summer. 鈥淲e all talk.鈥

Several women also expressed concern that focusing too much on Silicon Valley鈥檚 sexism will do more harm to their careers than good. They鈥檙e tired of being looked at through the lens of gender. 鈥淭here were parts of the Google memo that I understood,鈥 says Mehrotra, the Google Brain intern. 鈥淚 can see how guys would be frustrated by special mentorship programs for just women, how it could make them feel that we were considered different.鈥 Alexis Lee, 17, a high school senior who鈥檚 already taking computer science courses at a community college in Cleveland, has started eschewing all-girl coding camps in favor of the co-ed ones because they鈥檒l more closely resemble what she鈥檒l encounter in college and beyond. 鈥淚 actually think having exposure to this when I鈥檓 young is going to help me in the long run.鈥

Rosalind Stengle, a sophomore computer science and economics major at University of Wisconsin at Madison, has done the same thing. 鈥淪exism in tech is a problem; we know it exists,鈥 she says. 鈥淏ut I go to these women-in-tech meet-ups sometimes, and all they do is talk about this stuff. I鈥檓 like, 鈥極K, but when can I build a robot?鈥欌 — Bloomberg