Student Well-Being & Movement

Yes, Computer Science Can Teach Social-Emotional Skills. Here’s How

By Arianna Prothero — July 10, 2026 2 min read
Education Teacher Appreciation Morale 24126158566435
  • Save to favorites
  • Print

When people think about computer science class, they likely conjure up images of ones and zeros—not mindfulness. But there are many ways computer science can support student mindfulness and social-emotional learning, and vice versa.

For one, computer science is all about trying things, failing, and trying again—giving students ample opportunity to learn how to manage their emotions and build resilience, said Nadia Taylor, a computer science implementation specialist in the office of student pathways for the New York City schools.

“Students, when they encounter bugs when they’re programming, they’re frustrated, they’re angry, they’re sometimes embarrassed,” she said. “They’re getting all of these different emotions because they put so much hard work into creating a program and they’re finding a mistake.”

That’s where social-emotional learning can be useful.

Building social-emotional skills can help students not only pinpoint the emotions they have, but also give them strategies to manage them productively, Taylor said.

Taylor presented on this topic at the ISTELive 26 + ASCD annual conference in Orlando, Fla., in June.

Social-emotional learning has an important place in computer science—and other STEM—classes beyond just being a tool students use to help solve problems. As a classroom teacher, Taylor used digital mood meters so students could share with her and the class how they were feeling that day.

“This is something that we were able to save, and then I would be able to look at it later on and even do a quick assessment just to check in on the students,” she said. Mood meters can and often are done on paper, but Taylor said she preferred having digital data that was harder to lose and made it easier to track trends.

Even in a class where the point is for students to use digital devices, teachers still must think about students’ overall wellness and take tech breaks to let them move around or even just give their minds a rest, said Sean Arnold, the director of school pathways for the New York City district, who presented with Taylor.

See also

Empathy02
Chris Cromwell, an instructional technology coordinator for the West Chester Area School District in Pennsylvania, speaks to attendees during his presentation at the ISTELive 26 + ASCD Annual Conference in Orlando, Fla., on July 1, 2026. Cromwell is one of a small but growing number of educators using AI to teach students social and emotional skills.
Marvin Joseph/Education Week

“Whether it is a little yoga break, even if it’s in your chair, even if you’re not mobile, brain break activities [for] students need to be built into everyone’s day,” he said, “especially with young people because otherwise your brain can’t process the things that came before and can’t prepare for the things that are coming next.”

Finally, there are also popular teaching tools used in computer science that can support social-emotional learning both in computer science and other subjects, said Taylor. One example: rubber ducky debugging.

This is a problem-solving strategy in which the programmer talks to a rubber ducky or other inanimate object and describes their code line by line. By articulating aloud what they’re doing, it becomes easier to spot mistakes. This approach helps students build important social-emotional skills such as problem-solving, iterating on their ideas, and independence.

Teachers in any subject can use this strategy, Taylor said, and it doesn’t have to be done with rubber ducks. An English/language arts teacher can have students read their essays aloud to stuffed animals to help them catch punctuation errors.

“Even though they’re really talking to themselves, they’re noticing what’s going on and they’re catching those mistakes as they’re talking about it,” she said. “I was a big fan of ‘ask three before me:’ ask yourself and the duck, then ask the person next to you, and then if you need to, you come to me last. ... We really want to build that independence.”

Events

This content is provided by our sponsor. It is not written by and does not necessarily reflect the views of Education Week's editorial staff.
Sponsor
Recruitment & Retention Webinar
Hiring, Retention, and Fill Rates: A Data-Driven Sub Strategy
Explore what keeps substitutes coming back and hear how one district rebuilt its substitute hiring process and improved its fill rate.
Content provided by Frontline Education
Early Childhood K-12 Essentials Forum Early Childhood Education: Building Essential Skills for Success
Join this free virtual event to examine the biggest challenges in supporting young children, from preschool through elementary school. 
This content is provided by our sponsor. It is not written by and does not necessarily reflect the views of Education Week's editorial staff.
Sponsor
Student Absenteeism Webinar
Attendance Isn't an Attendance Problem
Boost attendance by strengthening relationships, belonging, and support with practical strategies from Doug Fisher & Nancy Frey.
Content provided by Corwin

EdWeek Top School Jobs

Teacher Jobs
Search over ten thousand teaching jobs nationwide — elementary, middle, high school and more.
View Jobs
Principal Jobs
Find hundreds of jobs for principals, assistant principals, and other school leadership roles.
View Jobs
Administrator Jobs
Over a thousand district-level jobs: superintendents, directors, more.
View Jobs
Support Staff Jobs
Search thousands of jobs, from paraprofessionals to counselors and more.
View Jobs

Read Next

Student Well-Being & Movement Meta Reaches $17B Settlement With States Over Teen Social Media Addiction
The deal with 47 states requires Meta to add child-safety measures to Facebook and Instagram.
4 min read
Head of Instagram, Adam Mosseri, leaves the Ronald V. Dellums Federal Building & United States Courthouse as Meta is on trial over social media addiction in Oakland, California, on August 25, 2026. A coalition of US states is seeking around $200 billion in damages against Meta, which they accuse of intentionally designing Facebook and Instagram to be addictive for children, in a landmark trial.
Adam Mosseri, the head of Instagram, leaves the Ronald V. Dellums Federal Building and United States Courthouse in Oakland, Calif., on Aug. 25, 2026. Meta, Instagram's parent company, has agreed to a $17 billion settlement with 47 states to end a trial over teens' social media addiction.
Karl Mondon / AFP via Getty Images
Student Well-Being & Movement Nebraska's Largest School District Asks Police to Not Use Electric Shock Gloves on Students
Omaha's superintendent made the request after a report that federal immigration officials planned to to use the tools.
5 min read
A look at a Compliant Technologies Generated Low Output Voltage Emitter, G.L.O.V.E., at Omaha Police Headquarters in Omaha, Neb. on Friday, Aug. 14, 2026. The Generated Low Output Voltage Emitter, G.L.O.V.E., "is a less-lethal tool intended to provide officers with an additional option when responding to resistance or a potentially volatile situation," according to the Omaha Police Department.
A photo taken at Omaha, Neb., police headquarters on Aug. 14, 2026, shows a technology known as Generated Low Output Voltage Emitter, or G.L.O.V.E. Photo by Nikos Frazier/Omaha World-Herald via Getty Images. Police in the city agreed this week to stop carrying the gloves, which can deliver electric shocks, while working in schools in Nebraska’s largest public school district.
Nikos Frazier/Omaha World-Herald via Getty Images
Student Well-Being & Movement Opinion Why ‘Just Ask for Help’ Isn't Enough for Teens—and What Schools Can Do Instead
Mental health messaging is out of step with what students actually need, explains one high schooler.
Aanya Remi
4 min read
082024 Opinion REMI hesitant to seek help ly
Liz Yap/Education Week and Canva
Student Well-Being & Movement How a School Bus Will Serve as a Sensory Reprieve for Little Learners
A rural Head Start program will deploy the bus to give young kids tools to manage their emotions.
4 min read
HB A4346
An activity table inside the Pocono Services for Families and Children's new sensory bus on Aug. 20, 2026, in East Stroudsburg, Pa. The bus is set to hit the road this spring to help teach young students how to regulate their emotions through play.
Hannah Beier for Education Week