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

Students and friends celebrate and hug after winning the competition
‘Moos’ and Ahhs: Babson AI Showcase Draws Rave Reviews A high-tech solution from two MSEL students to improve monitoring herds of cows wins the top prize at the first Babson College AI Showcase, hosted by the C. Dean Metropoulos Institute of Technology and Entrepreneurship.
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 9, 2025

Posted in Community, Entrepreneurial Leadership

A woman stood next to a Babson student during her visit to class.
Don’t Wait to Be Ready: UX Pioneer Karen Clark Cole on Graduation and Embracing Uncertainty Tech visionary Karen Clark Cole prepares to deliver the Commencement address at Babson’s graduate ceremony, sharing advice on impact, uncertainty, and starting without fear.
By
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 8, 2025

Posted in Community

Heidy Magaña talking to someone at an event in Knight Auditorium
Class of 2025: How This First-Gen Student Created a Community First-generation student Heidy Magaña ’25 has spent her time at Babson building a community and growing the support available to other first-generation students.
By
Melissa Savignano
Writer
Melissa Savignano
Melissa Savignano, a content marketing manager at Babson College, has worked in higher education for almost a decade, where she tells authentic, compelling campus and community stories. Before Babson, she managed communications for Boston University’s largest college, the College and Graduate School of Arts & Sciences. She previously worked in client relations, helping brands of various sizes launch content marketing strategies and storytelling initiatives. When not at work, you will find her in the city of Boston, probably at the movie theater.
May 7, 2025

Posted in Community