The Importance of Play in Learning to Program

Dr. Kai Dupe • September 9, 2024

Programming is both an art and a science. By approaching it through play, learners are encouraged to explore, experiment, and create without the pressure of achieving specific outcomes.

In the journey of learning programming, the importance of structured study and practice is often emphasized. While these elements are crucial, an equally significant yet frequently overlooked aspect is *play*. Incorporating play into learning programming can dramatically enhance creativity, problem-solving skills, and overall engagement.


Encourages Creativity and Exploration


Programming is both an art and a science. By approaching it through play, learners are encouraged to explore, experiment, and create without the pressure of achieving specific outcomes. Play opens up opportunities for learners to test out different ideas, try new techniques, and see how various components of code interact in a low-stakes environment. This freedom to explore fosters creativity, allowing programmers to think outside the box and come up with innovative solutions to problems.


For example, a beginner may start by creating a simple game or a fun animation using a language like Python or JavaScript. Through this playful approach, they can experiment with variables, loops, and functions, learning key programming concepts in an enjoyable and intuitive way. This exploration not only helps solidify foundational skills but also sparks a genuine interest in programming.


Enhances Problem-Solving Skills


Play inherently involves challenges and obstacles, making it an excellent way to develop problem-solving skills. When learners engage with programming through playful activities—such as puzzles, coding games, or challenges—they are encouraged to think critically and come up with solutions. These activities often present problems in a more engaging and digestible manner, making it easier for learners to grasp complex concepts.


A study conducted by Zosh et al. (2018) highlights the importance of play in learning, noting that playful learning environments enhance cognitive abilities, particularly problem-solving and critical thinking skills . For example, platforms like CodeCombat or Scratch use game-based learning to teach programming. In these environments, learners solve coding puzzles or build interactive stories, which require them to break down problems into smaller parts, debug errors, and iterate on their solutions. This kind of playful problem-solving is not only effective but also enjoyable, helping learners build confidence in their programming abilities.


Increases Motivation and Engagement


One of the biggest challenges in learning programming is maintaining motivation, especially when faced with complex or tedious tasks. Play can serve as a powerful motivator. By integrating fun and playful activities into the learning process, programming becomes less of a chore and more of an enjoyable challenge. This can help learners stay engaged and committed to their coding journey.


Moreover, playful environments often offer immediate feedback, which reinforces learning and provides a sense of accomplishment. Whether it’s seeing a character move on the screen due to their code or successfully completing a coding challenge, these small victories keep learners motivated and excited about their progress.


Conclusion


Incorporating play into learning programming is more than just a fun diversion; it is a powerful educational tool. By encouraging creativity, enhancing problem-solving skills, and increasing motivation, play can transform the programming learning experience. For both beginners and experienced coders alike, integrating playful exploration into the learning process can lead to deeper understanding, sustained engagement, and a lifelong passion for programming.


By Dr. Kai Dupe June 17, 2026
The true promise of computing is not found in the machines we build, but in the human potential we unlock when knowledge becomes accessible to everyone.
By Dr. Kai Dupe June 3, 2026
One of the reasons I value the MCT program so highly is that it represents more than technical knowledge.
By Dr. Kai Dupe May 22, 2026
Software engineering is not simply coding.
By Dr. Kai Dupe May 15, 2026
Companies often promote the idea that technical skill alone determines success.
By Dr. Kai Dupe May 3, 2026
Hackathons also strengthen teamwork and communication skills.
By Dr. Kai Dupe April 22, 2026
Stepping onto the campus of Morehouse College this past weekend for Admitted Students Day was more than a visit—it was a moment of reflection. As I watched young Black men walk with purpose across the yard, I found myself asking a simple but profound question: What would it have been like for me to study computer science here? My journey into computing was shaped in environments where I was often the only Black man in the room. That reality brings with it an unspoken weight—the need to prove you belong, the awareness of being watched, and sometimes, the quiet isolation that comes with underrepresentation. Standing at Morehouse, I realized that this burden is not a given. It is a condition of the environment. At Morehouse, the environment is different by design. Here, Black men are not anomalies—they are the standard. I imagined what it would feel like to learn algorithms, data structures, and software development in a space where my identity was not questioned but affirmed. Where excellence is expected, not in spite of who you are, but because of it. As a computer science professor, I understand the academic rigor required to succeed in this field. There is no shortcut through recursion, no bypass around debugging, no substitute for disciplined problem-solving. But what struck me during my visit is how much context matters. When students are free from the psychological burden of proving they belong, they can redirect that energy toward mastering the material. They can collaborate more openly, ask questions more freely, and take intellectual risks without fear. I also thought about legacy. At Morehouse, students walk the same grounds as Martin Luther King Jr.. That kind of history does something to a person. It raises the bar—not just academically, but personally. It invites students to see their education not just as a pathway to a career, but as preparation for impact. Leaving campus, I felt inspired—but also reflective. I cannot rewrite my journey, but I can appreciate what spaces like Morehouse offer the next generation. For a Black male pursuing computer science, it is more than a degree. It is an opportunity to develop skill, confidence, and identity in alignment. And that combination is powerful.
By Dr. Kai Dupe March 25, 2026
If you walk into most computer science classrooms today, you might assume that computing has always been a male-dominated field. As someone who has spent decades in the industry and now teaches the next generation of developers, I can tell you—that assumption is not only common, it’s historically inaccurate. In the early days of computing, many of the first programmers were women. Ada Lovelace is widely recognized as the first computer programmer, having written what we would now call an algorithm for Charles Babbage’s Analytical Engine. Fast forward to the 1940s, and women were programming some of the first electronic computers, including ENIAC. These were not peripheral roles. These women were solving complex computational problems, often inventing programming techniques as they went (Abbate, 2012). So what happened? From a systems perspective, the answer is not mysterious—it’s structural. In its early stages, programming was considered clerical work. It required precision, patience, and attention to detail—qualities that, at the time, were socially assigned to women. But as computing became more central to business, government, and innovation, its status changed. What was once seen as routine work became prestigious and lucrative. And when that shift happened, the demographics shifted with it. By the 1980s, we see a clear inflection point. Personal computers entered the home—but they were marketed primarily to boys. This created an early access gap that translated into confidence, experience, and eventually career pathways. At the same time, hiring practices and workplace cultures began to favor men, reinforcing a feedback loop that pushed women out of the field (Hicks, 2017). Over time, the narrative changed. Computing was no longer something women had built—it became something they were seen as entering late. But that narrative is not just incomplete—it’s a distortion. Understanding this history is not about nostalgia; it’s about accuracy. When students learn that women were foundational to computing, it reshapes how they think about the field. Diversity is no longer framed as a modern intervention—it is recognized as part of computing’s original DNA. In my classroom, I’ve seen what happens when students encounter this truth. It disrupts assumptions. It broadens participation. And perhaps most importantly, it changes who students believe belongs in this space. So, if women were the original programmers, what happened? Part of the answer lies in systems—education, marketing, hiring, and culture. But another part lies in storytelling. The stories we tell about computing shape who feels invited to participate in it. As educators, technologists, and leaders, we have an opportunity—and a responsibility—to tell that story more accurately. References Abbate, J. (2012). Recoding Gender: Women’s Changing Participation in Computing. MIT Press. Hicks, M. (2017). Programmed Inequality: How Britain Discarded Women Technologists and Lost Its Edge in Computing. MIT Press. Evans, C. L. (2018). Broad Band: The Untold Story of the Women Who Made the Internet. Portfolio. Shetterly, M. L. (2016). Hidden Figures. HarperCollins.
By Dr. Kai Dupe March 17, 2026
During Women's History Month, we often celebrate women who have made groundbreaking contributions to science and technology. What many people do not realize, however, is that in the earliest years of the computing industry, programming was largely done by women. This overlooked chapter of history reveals how deeply women helped shape modern computing—and how cultural shifts later obscured their contributions. One of the most famous examples comes from the development of the ENIAC, one of the first general-purpose electronic computers built during World War II. When the machine was unveiled in 1946, public attention focused primarily on the hardware and the male engineers who built it. Yet the individuals responsible for programming the computer were six women mathematicians: Jean Bartik, Kathleen McNulty, Betty Jennings, Frances Bilas, Ruth Lichterman, and Marlyn Wescoff. Their work was extraordinarily complex. Programming ENIAC did not involve writing code in a modern programming language. Instead, they programmed the machine by rewiring plugboards, configuring switches, and designing logical sequences of operations to compute ballistic trajectories for the U.S. military. In effect, they were inventing the practice of programming as they went along. Despite the significance of their work, these women were largely left out of the early historical record. Photographs from the ENIAC project sometimes showed them standing beside the machine, but they were often misidentified as models rather than as the programmers who made the system function. For decades, their contributions were largely forgotten. Women continued to play critical roles in computing in the years that followed. One notable figure was Grace Hopper, who helped develop one of the first compilers and contributed to the development of the programming language COBOL. Her work helped transform programming from a hardware-focused task into the software-driven discipline we know today. Ironically, programming was not initially considered a prestigious profession. In the early decades of computing, it was sometimes viewed as routine clerical work, and organizations often hired women to perform it. However, as software became more central to the technology industry in the 1960s and 1970s, the status of programming began to change. Companies started redefining the role as a highly technical and prestigious occupation. At the same time, hiring practices began emphasizing personality profiles and educational pathways that favored men, while early home computers were heavily marketed to boys. These cultural and institutional shifts gradually pushed many women out of the field. By the 1980s, computer science programs had become overwhelmingly male-dominated, creating the demographic pattern that still exists in much of the technology industry today. Understanding this history reminds us that the gender imbalance in computing is not inevitable or inherent to the field. Women were present at the very beginning of modern computing and were instrumental in building the foundations of programming itself. For readers interested in learning more, two excellent resources are Recoding Gender by Janet Abbate, which examines the historical role of women in computing, and Broad Band by Claire L. Evans, a narrative history of women’s contributions to the development of the internet and computing culture.
By Dr. Kai Dupe February 22, 2026
For those of us who have spent decades working in technology, it is easy to forget how different the industry looked thirty years ago. When I began my career, the tech world was rapidly expanding, but it was also strikingly narrow in who it included. Conversations about equity, representation, and access were often peripheral — if they happened at all. That is why the work of Rev. Jesse Jackson in Silicon Valley stands out to me, not just as a moment in civil rights history, but as a turning point in the culture of technology itself. Many people know Jesse Jackson for his role in the Civil Rights Movement, but fewer recognize how intentionally he turned his attention toward the tech industry. He understood something early that many of us working in the field were only beginning to realize: technology would shape the future economy. If entire communities were excluded from participation in tech, they would be excluded from opportunity, wealth, and influence in the decades ahead. Jackson’s approach was practical and strategic. He challenged major technology companies to release diversity data at a time when transparency was uncommon. As someone who has watched the industry evolve over three decades, I can say that this push mattered. Today, annual diversity reports are routine, and companies are expected to discuss representation openly. That shift toward accountability did not happen by accident — it came from sustained public pressure and advocacy. What impressed me most about his work was that he framed equity as more than a hiring issue. He emphasized supplier diversity, entrepreneurship, and access to capital, arguing that inclusion meant participation in the entire technology ecosystem. That perspective resonates deeply with me as both a technologist and an educator. I have seen firsthand how access to networks, mentorship, and opportunity often matters just as much as technical skill. The ripple effects of that advocacy are visible today. Conversations about ethical AI, algorithmic bias, and inclusive design reflect a growing understanding that technology is shaped by the people who build it. As someone who has worked through multiple generations of technological change — from early software development practices to cloud computing and now AI — I can say with confidence that the industry now recognizes diversity not only as a social responsibility but as a driver of innovation. Of course, progress is not linear. The tech industry continues to wrestle with questions of equity, and current debates around DEI show that the work is far from finished. Yet the fact that these conversations are central rather than marginal is itself part of Jackson’s legacy. From my vantage point after thirty years in technology, I see Jesse Jackson’s Silicon Valley work as a bridge between the civil rights struggles of the past and the innovation challenges of the future. He reminded the industry that technology is not just about code or products — it is about people, access, and who gets to help shape the world we are building together.
By Dr. Kai Dupe February 1, 2026
The field of computing is often portrayed as a neutral, merit-based domain driven solely by innovation and technical brilliance. Yet this narrative obscures a critical truth: the systematic omission of Black contributions from computing history has materially shaped who feels welcome, visible, and valued in the field today. The underrepresentation of African Americans in computing is not an accident of interest or aptitude—it is the cumulative result of historical erasure, structural barriers, and distorted storytelling. Factor 1: Historical Erasure from Canonical Narratives Black technologists played foundational roles in early computing—as mathematicians, programmers, systems architects, and trainers—yet their work has been routinely excluded from textbooks, curricula, and popular histories. As documented in Hidden Figures by Margot Lee Shetterly, Black women were essential to NASA’s computational breakthroughs, but their contributions remained invisible for decades. This erasure sends a powerful signal: computing is framed as a space where Black excellence is anomalous rather than foundational. Factor 2: Structural Barriers to Access and Credentialing Beyond storytelling, African Americans were systematically excluded from the institutions that conferred legitimacy in computing—elite universities, corporate research labs, and early tech firms. Historian Joy Lisi Rankin documents how access to early computer systems was tightly controlled, favoring already-privileged institutions and populations. Even when Black technologists contributed, intellectual credit and ownership often flowed elsewhere. Factor 3: The Myth of the Lone Genius Technologist Dominant computing narratives emphasize individual genius—often white and male—while minimizing collaborative and community-based labor. Scholar Ruha Benjamin argues that these narratives reinforce racial hierarchies by defining innovation narrowly and excluding socially grounded forms of technical expertise. Conclusion The underrepresentation of African Americans in computing cannot be solved by recruitment alone. It requires historical repair—restoring omitted contributions, reframing who computing is for, and teaching students that Black people have always been builders of digital futures. Sources: Shetterly, M. L. (2016). Hidden Figures. HarperCollins. Rankin, J. L. (2018). A People’s History of Computing in the United States. Harvard University Press. Benjamin, R. (2019). Race After Technology. Polity Press.