For two decades, educators at Carnegie Mellon University have pushed back against a stubborn mindset that computer science programs were the domain of keyboard-hugging males.

Enrolling more women, campus leaders said, was not just a matter of equity but of bringing fresh ideas to computing and ensuring a sufficient supply of workers for high-demand jobs.

As their efforts to attract and retain more women took hold in that discipline and others such as engineering, a university itself accustomed to taking jabs for being as male-heavy as it was science-heavy began to take on a different look, too.

Now, Carnegie Mellon has reached a milestone that once seemed as remote as the self-driving car: For the first time in the university’s history, the incoming undergraduate class of 1,670 students has more women, at 51 percent, than men.

Advertise with us

In part, the university’s Class of 2021 reflects accelerating gains by women in the “STEM” fields of science, technology, engineering and math.

Fifty-percent of first-year students in computer science are female, up from 35 percent in 2013 and just 8 percent in 1995.

Forty-three percent of first-year engineering students are women, compared with 32 percent four years ago.

Gains have occurred outside of the hard sciences, too. In business administration, for instance, women are now in the majority among first-year students at 57 percent. They account for 56 percent of the enrollment in music, up from 43 percent.

The gains are not just in numbers of female applicants, officials said. The quality of applicants is up, too.

Advertise with us

“You keep working at it and working at it and then, all of a sudden, you get a breakthrough,” said Michael Steidel, dean of admission. “That’s why we’re really excited.”

Nationwide, women in college overall have long outnumbered men, but in a number of the science and technology fields it has been a different story.

Gains by women of late at Carnegie Mellon and other leading schools are giving cause for hope about a problem that has long bedeviled educators.

Carnegie Mellon’s total enrollment remains weighted toward men, even at the undergraduate level: Fifty-three percent were male versus 47 percent female as of fall 2016, the most current data available.

But compare that with 20 years ago, when men accounted for 66 percent of undergraduates and women 34 percent.

Advertise with us

One of this fall’s freshmen, Hannah Daniel, 18, of Harrisonburg, Va., said the female students’ faces she encountered while considering Carnegie Mellon helped seal the deal.

Ms. Daniel, who wants to study biology, said programs she was looking at in some ways seemed similar. In narrowing her choices, “what I was really looking for was where I would fit in best,” she said.

In particular, a sit-down she had with a senior majoring in English and biology made her confident she would not be hemmed in by a choice of major. The woman’s successes on campus inspired her.

“Just talking about her classes and her life,” she said. “I saw a lot of my same mannerisms in her.”

University officials point to various changes on campus that appear to have resonated with female students and their families. Some are as recent as the past couple of years while others are more than a decade-and-a-half old.

Advertise with us

In 2015, a new undergraduate curriculum was introduced in the Mellon College of Science that encouraged a more well-rounded student who pursued rigorous study but also kept a healthy balance of interests outside the classroom.

“It’s really [a] holistic sense of education as opposed to just looking at the academic or scholarly side,” said Maggie Braun, the college’s associate dean for undergraduate affairs.

At roughly the same time, Carnegie Mellon intensified efforts to combat what some dubbed the school’s “stress culture” and the emotional toll it was taking on students attending one of the nation’s most competitive campuses.

Women students were invited into some faculty meetings and asked to describe what about their classroom experiences felt inclusive and what made them feel left out.

“It allowed faculty to understand how men and women can potentially experience a very different classroom,” said Leanne Meyer, an administrator in the Tepper School of Business.

Advertise with us

More than two decades earlier, the school of computer science was at work trying to make its culture more women-friendly.

An advocacy group created in 1999, Women@SCS Advisory Committee, spawned a website that not only discussed grueling software problems but listed notices for a Big Sister/Little Sister program, ceramic painting and get-acquainted dinners to foster female camaraderie.

Nearly 20 years later, the group still exists. Events on its website for this fall include weekly Creative Technology Nights intended to expose middle school girls to technology through computer animation, web design, programming, robotics and interactive medias.

A message on the site makes clear what is at stake, not just for Carnegie Mellon: “Like most academic fields computer science thrives on diverse ideas and we need to reach out to a broad range of potential students.”

Bill Schackner: bschackner@post-gazette.com, 412-263-1977 and on Twitter: @BschacknerPG.