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
Student Achievement Webinar
The Relationship Advantage for Attendance, Engagement, and Achievement
Relationship-building goes beyond back-to-school. Get practical ideas from district leaders and educators to strengthen student connections.
School & District Management Webinar EdMarketer Quick Hit: Build Campaigns That Engage K-12 Leaders
We’ll share what’s resonating with Education Week’s K-12 audience based on user behavior across platforms and other proprietary data.
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
Assessment Webinar
Measuring What Matters: How District Leaders Are Redefining Student Assessment
In this panel discussion, district leaders and systems experts will examine the gap between the outcomes we want and the systems in place.
Content provided by Otus

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 Measles Has Come Back in Force. Is Your School Ready?
The United States has recorded more measles cases this year than in any year in more than three decades.
7 min read
A nurse, prepares a combination measles, mumps and rubella vaccine for a patient at a pediatrics clinic in Easley, S.C., March 17, 2026.
A nurse, prepares a combination measles, mumps, and rubella vaccine for a patient at a pediatrics clinic in Easley, S.C., March 17, 2026. Public health officials say that school districts can help themselves respond quickly to a measles outbreak if they know which students are vaccinated.
Mary Conlon/AP
Student Well-Being & Movement Student Labels Stick. What Teachers Should Do Instead
Labeling students starts early, and the damage may linger. Experts offer alternatives.
4 min read
Close-up of a multitasking primary school student with colored paper for notes glued on his bright yellow t-shirt with words written on the notes.
Vanessa Solis/Education Week + Taras Grebinets/iStock
Student Well-Being & Movement CDC's Latest Youth Behavior Report Offers a Narrower Look at Teen Health
The new report leaves out national findings on substance use, sexual behavior, violence, and disparities.
Amanda Watford, Stateline
•
6 min read
Mansfield Senior High School teacher Tony Davis talks to his health class about the topic of sleep as freshman Zariyah Gregg, 14, snoozes, Friday, Dec. 6, 2024, in Mansfield, Ohio.
Mansfield Senior High School teacher Tony Davis talks to his health class about the topic of sleep as freshman Zariyah Gregg, 14, snoozes, on Dec. 6, 2024, in Mansfield, Ohio. CDC 2025 Youth Risk Behavior Survey report focuses on five areas — diet, physical activity, sleep, digital behavior, and mental health and suicide risk — while largely leaving out national findings on substance use, sexual behavior, violence and disparities among student groups that were prominent in previous reports.<br/>
Phil Long/AP
Student Well-Being & Movement Opinion Why I’m Bringing TikTok Dances to My P.E. Class
Physical education needs an update. Here’s how I’m engaging the students who have been left out.
Dedric Wright
•
5 min read
Inclusive physical education, alternatives
Tatjana Junker for Education week