homehome Home chatchat Notifications


Language skill may matter more for learning how to code than math

Girls tend to have better language abilities on average than boys, yet they might feel intimidated by stereotypes surrounding computer science.

Tibi Puiu
May 15, 2020 @ 6:37 pm

share Share

Programming is often perceived as a math-intensive field, which, let’s face it, can be intimidating for anyone contemplating it. A new study, however, suggests that language and problem-solving skills are more reliable predictors of how quickly a person learns a programming language than mathematical aptitude.

Language > math

Researchers at the University of Washington recruited 42 participants who joined a coding course through Codeacademy. Each participant completed ten 45-minute-long lessons that initiated them in coding with Python.

Before they enrolled, the participants completed a series of tests designed to assess their math, working memory, problem solving, and second language learning abilities.

The test results were correlated with the course’s completion metrics, including how well a student understood the lessons and the rate at which they completed checkpoints.

By the end of the study, 36 participants had completed the course. By comparing the test results before and after the Python course, the researchers could determine the weight of memory, problem-solving, language, and mathematical abilities when it comes to predicting successful learning.

While participants learned how to code in Python at different rates, the researchers found that problem solving and working memory were the most associated with how well students were able to program. Meanwhile, both general cognitive skills and language aptitude were associated with how quickly they learned to code.

In fact, aptitude for a second language accounted for almost 20% of the difference in how quickly the students learned Python, while math could account for just 2% of the variation.

This suggests that language skills are more important than numerical aptitudes when it comes to learning how to code, despite folk wisdom.

What’s more, the researchers also measured the brain activity of the participants through electroencephalography (EEG) prior to the online learning tasks. The EGG measured patterns of brain activity while the subjects were relaxed and basically doing nothing.

Electrical activity at rest has various patterns, including slow waves called beta oscillations. Previously, researchers showed that these oscillations in brain activity are linked to the ability to learn a second language. Participants who scored high on the Python course also tended to have higher levels of beta oscillations.

Taken together, these findings show that language abilities might be more important than mathematical skills when learning computer science.

Girls, who tend to have higher language skills than boys on average, typically avoid computer science because they may feel intimidated by stereotypes of a math-intensive environment.

However, this study shows that girls ought to do just as well as boys at coding, if not better.

The findings were published in the journal Scientific Reports.

share Share

The Strongest Solar Storm Ever Was 500 Times More Powerful Than Anything We've Seen in Modern Times. It Left Its Mark in a 14,000-Year-Old Tree

The ancient event, over 500 times stronger than any modern storm, would be devastating were it to happen today.

Harvard Bought a $27.50 'Copy' of Magna Carta That Turned Out To Be a Genuine Manuscript of the "Most Famous Single Document in the History of the World"

An 800-year-old document once dismissed as a more recent copy reveals its royal origins.

This Woman Who Lived 4,500 Years Ago in One of Americas’ Oldest Civilizations Still Has Hair and Nails

She was neither a Mayan nor an Incan. She was an elite Caral.

China is unbeatable when it comes to EVs. Here’s what Europe and the US can learn

The country has mastered the science of making and selling electric vehicles like hot cakes.

New Global River Map Is the First to Include River Bifurcations and Canals

GRIT provides a much more detailed look at how rivers merge and split, which could enhance hydrological modeling, flood forecasting, and water management efforts.

Scientists Blasted Human Cells With 5G Radiation and the Results Are In

Study finds human skin cells remain genetically unphased even under extreme 5G exposure.

Orange Cats Are Genetically Unlike Any Other Mammal and Now We Know Why

The iconic coats are due to a mutation not seen in other animals.

Scientists Found 'Anti Spicy' Compounds That Make Hot Peppers Taste Milder

One day, an anti-spicy sauce could make your food less harsh.

In 2019, Iceland started experimenting with a shorter workweek. It's been a resounding success

We weren't sure at first, but Iceland is showing that the shorter workweek works.

Grok Won’t Shut Up About “White Genocide” Conspiracy Theories — Even When Asked About HBO or Other Random Things

Regardless of the context Grok, it seems, is being used to actively push a topic onto its users.