How Can We Teach Coding to Kids from Underserved Communities?

Google’s Calvin Pinney is pictured speaking on stage in front of a large TEDx Babson College sign.
Listen

The tech industry has a longstanding diversity and inclusion problem. And, if we want to ensure that the coders and engineers leading tech companies better represent people from all backgrounds, we need to take a more entrepreneurial approach to STEM education.

So says Calvin Pinney, a program manager at Google who is pursuing an MBA part-time at Babson College. At TEDx Babson College, Pinney recently discussed how society can realize new opportunities to increase diversity in STEM (science, technology, engineering, math), if we simply flip our focus from emphasizing foundational skills to rethinking how we teach, engage, and inspire.

In his TEDx talk, Pinney explored how this approach fuels his work as chief evangelist for BreakBeatCode, which teaches children from communities underrepresented in tech to code by coaching them on how to use Python to create music. The program is Pinney’s Twenty Percent project at Google, which empowers its employees to spend one day of their work week, or 20 percent of their time, on a side project of their choosing.


TEDxBabsonCollege, which took place virtually for the first time in 2021, included a diverse panel of innovators discussing “Bridging the Gap, Breaking the Norms.” Watch the entire program:


Make Learning Meaningful

“If we want kids from underserved communities to learn and identify with core skills in STEM, we need to find a way to make that culturally relevant to them,” Pinney said. “They need to see the payoff.”

For example, “in a traditional computer science class, students start out by learning syntax, or the basic rules of coding, and applying these skills to solve meaningless puzzles,” Pinney said. A classic lesson is to write code to check if a word is a palindrome—one that reads the same backward or forward.

Now, if a student already is motivated to apply these skills to building something such as a website or a video game, Pinney said, they may be willing to practice that skill just for the sake of learning it. With a little persistence, they become good at it.

“And, if you are coming from a place of privilege, it should really come as no surprise that you’re good at it. You’ve seen lots of people who can code,” Pinney said. “So, for traditional education, while it may not be the most engaging way to learn, it’s fine.”

However, if you are a student from an underserved community and don’t already identify with the potential of being an engineer, Pinney said, your default assumption when you find the exercise to be difficult at first likely will be: “I’m just not good at coding. No one I know is good at coding. It’s not something people like me do.”

To teach a student with this mindset, you have to make learning highly relevant right from the start, Pinney said. If you don’t, these students quickly will fall back on that default assumption of “I’m not a coder” and disengage.

Applying an entrepreneurial mindset to education means being willing to consider when a traditional teaching approach might not work and a more creative process is needed.

For example, Pinney said using music production as a way to introduce coding can help because people from diverse backgrounds can play music at home and have become professional musicians.

Unlock the Creative Potential

In February 2021, BreakBeatCode and the Orphaned Starfish Foundation co-hosted their first virtual Hackathon for 35 children living in Jamaica, Haiti, and indigenous communities in the United States. Coaches taught small groups of kids coding skills and music theory via hands-on exercises in breakout sessions.

The middle and high school students ended the Hackathon by publishing their first music track. During the virtual closing party, a DJ remixed their beats into a single piece of music in a live set.

The lessons didn’t stop at coding and music, however. Pinney explained that inspiring an entrepreneurial mindset is just as important to developing the tech leaders and artist-engineers of the future.

That’s why BreakBeatCode also introduced the kids to the behind-the-music stories of stars such as Broadway actress Syndee Winters from Hamilton and Rich Nice, the host of SiriusXM’s “Sway in the Morning” and a producer on hit records by Ice Cube, Nas, and others.

The celebrity guests shared with the kids how they got started in the music industry, “how they embraced failure, and how to be bad at something so you can become great at it,” Pinney said. They also talked candidly about “imposter syndrome and all the other barriers the students will need to break through to achieve their dreams.”

“I cannot wait to see what these students will create in the future and how many other students we can reach,” says Andrew B. Stein, founder and executive chairman of the Orphaned Starfish Foundation.


Check out SoundCloud to listen to remixes that students made during a BreakBeatCode hackathon with the Orphaned Starfish Foundation. The students learned to how to create their own music tracks by coding in Python using EarSketch and, in just a few hours, made these tracks:


Live Your Values

In March, BreakBeatCode hosted another virtual Hackathon for 50 children living in Kenya, Ghana, and Nigeria.

However, the Google initiative alone cannot fix the lack of diversity and inclusion in tech and other industries.

Fortunately, opportunities abound for all entrepreneurial leaders interested in helping grow the pipeline for a workforce that is truly reflective of the world we share. And, we all have a part to play, Pinney said.

“You can volunteer your time to teach students from underserved communities in a new, engaging way. If you’re a teacher, you can look at ways of integrating culturally relevant curriculum into your classroom,” Pinney said.

Or, he said, you can borrow Google’s 20 percent concept at your company and “create your own initiatives to better support underserved communities, even if it has nothing to do with your day job.”

Posted in Community

More from Community »

Latest Stories

Side-by-side photos of the chair and the two students posing for a photo with the chair
From Text Prompt to Furniture: The Story Behind Babson’s AI Dam Chair With groundbreaking artificial intelligences advances, Vaness (Reece) Gardner ’26 and Cole Collins ’26 have created what is believed to be the first full-scale, AI-designed chair on a college campus.
By
Eric Beato
Editor / Writer
Eric Beato
Eric Beato is the Editor of Babson Thought & Action and Babson Magazine. A native of Chicago and a graduate of the University of Missouri School of Journalism, Eric has worked as an editor and writer at newspapers across the country, including the Chicago Sun-Times and Boston Herald. Eric joined Babson College in 2019 after working as the communications director for a private educational travel company and as the managing editor of six regional sports publications.
May 23, 2025

Posted in Community, Entrepreneurial Leadership, Outcomes

College president shakes hands with a student at the Commencement ceremony
Babson’s Graduates Remember the People Who Inspired Them In the final moments before Commencement, just before marching to the ceremony, Babson’s 2025 graduates reflected on their College journeys and the people who supported and inspired them.
By
John Crawford
Senior Journalist
John Crawford
A writer for Babson Thought & Action and the Babson Magazine, John Crawford has been telling the College’s entrepreneurial story for more than 15 years. Assignments for Babson have taken him from Rwanda to El Salvador, from the sweet-smelling factory of a Pennsylvania candy maker, to the stately Atlanta headquarters of an NFL owner, to the bustling office of a New York City fashion designer. Beyond his work for Babson, he has written articles and essays for The Philadelphia Inquirer, Notre Dame Magazine, The Good Men Project, and other publications. He can be found on Twitter, @crawfordwriter, where he tweets about climate change.
,
Hillary Chabot
Writer
Hillary Chabot
Hillary Chabot is a writer for Babson Thought & Action and Babson Magazine. An award-winning journalist, she is known for her insightful reporting and dedication to detailed storytelling. With a career spanning over two decades, she has covered a wide range of topics, from presidential campaigns and government policy to neighborhood issues and investigative series. As a reporter for The Boston Herald, Hillary earned a reputation for tenacity and integrity. Her work at Babson College fuels her passions—to learn something new every day and conduct thoughtful, empathic interviews. She’s thrilled to be at Babson College, where students, faculty, staff members and classes provide compelling copy daily.
May 22, 2025

Posted in Community

Teddy Sourlis holds a microphone while speaking at an event
LISTEN: Changing the Game: The Mind on Sports In Episode 6 of “From Problems to Possibilities,” two Babson College alumni and an expert in mental health philanthropy discuss how entrepreneurial leaders are making an impact at the intersection of sports and mental health.
By
May 21, 2025

Posted in Entrepreneurial Leadership, Insights