While artificial intelligence can generate code faster than any human, the ability to understand, evaluate, and debug that code has become more important than ever. This paradox sits at the heart of a growing recognition in education: as AI tools like ChatGPT and Claude make software creation accessible to non-programmers, the foundational skills that separate reliable code from flawed code have never been more valuable. Philip Guo, a cognitive scientist at UC San Diego, has spent the past 15 years grappling with this exact challenge. His free online tool, Python Tutor, visualizes code execution step by step, making the invisible logic of programming visible to learners. The platform has reached over 25 million users across 180 countries, generated more than 500 million code visualizations, and maintains 10,000 to 20,000 daily users. Recently, Guo's work earned a "Test of Time" award, recognizing its lasting impact on coding education over the past 15 years. "AI may generate code faster than any human," Guo explained, "but the need to understand what code is doing has only intensified. AI generates code that may seem right, but it isn't always reliable. You need to evaluate, debug and steer the code that AI produces". Why Can't Students Just Use AI to Write Their Code? The temptation is obvious. If ChatGPT can write a working program in seconds, why spend weeks learning loops, variables, and data structures? The answer reveals a fundamental truth about learning itself: understanding the underlying logic matters more when the tool doing the work is imperfect. Guo points out that one of the areas where AI has performed best is coding. This success, paradoxically, raises the stakes. "That means more people can attempt software creation, including people across fields ranging from the social sciences, to business and the humanities, but critically, they still need to learn something about how programming works on a fundamental level," Guo said. "Otherwise it is impossible for someone who has no idea about software or code to just talk to AI and build something that is safe and reliable". This insight extends beyond computer science majors. Guo has identified a category of learners called "conversational programmers," people who learn enough programming to communicate and collaborate effectively with software engineers. In the AI era, this concept has evolved: these learners are increasingly "in conversation with AI tools," using programming fundamentals to make AI-generated software usable in the real world. How Can Educators Help Students Learn to Think Critically About AI-Generated Code? - Teach visualization and step-by-step reasoning: Tools like Python Tutor help learners see exactly what happens as code runs, building mental models of how logic flows through a program rather than treating code as a black box. - Require evaluation and debugging skills: Students should practice identifying errors in code, understanding why mistakes occur, and fixing them, skills that become essential when reviewing AI-generated output. - Integrate AI as a learning partner, not a shortcut: Python Tutor now includes a built-in AI chat feature that guides learners through visualized code execution, explaining diagrams as an expert teacher would, rather than simply providing answers. - Emphasize foundational literacy over tool mastery: The goal is helping students understand how programming logic works so they can reason about future AI-generated code rather than accept it without question. Python Tutor itself has evolved to meet this moment. Guo created a built-in AI chat feature that guides learners through visualized code execution, explaining the diagrams as an expert teacher would. The distinction is crucial: the goal isn't to hand learners an answer, but to help them build deep understanding of fundamentals. What Does Coding Literacy Look Like in Practice? The challenge Guo identified 15 years ago remains relevant today: programming is difficult for beginners because the computer's logic isn't naturally observable. Code runs invisibly, and learners must form accurate mental models of what happens step by step without seeing it. Python Tutor tackles this by showing learners, line by line, what variables and data structures look like, and how information changes as the program runs. This approach lowers barriers for learners who don't fit the traditional computer science pipeline. Career changers, students in non-STEM fields, and professionals who need to collaborate with software engineers can develop conversational fluency without becoming full-time programmers. In the AI age, this democratization of coding knowledge matters more than ever. The broader educational landscape is catching on to this reality. Idaho recently hosted an AI Summit bringing together education leaders, technology experts, and executives from Microsoft and Google to discuss integrating AI responsibly into classrooms. A key message emerged: AI tools like writing assistants and tutoring modules should supplement learning rather than replace human instruction. Teachers emphasized that educators must feel confident teaching about AI, recognizing its potential for abuse, and developing frameworks for responsible use. At the college level, writing professors are grappling with similar questions. Kristi Girdharry, director of the Writing Center at Babson College, has shifted her approach from neutral observer to guide with a point of view. She asks students to write without AI in some assignments, not as a purity test, but because understanding what AI does to thinking first requires knowing what thinking can do without it. Recent research supports this approach: a study published in late 2024 in the British Journal of Educational Technology found that students using ChatGPT improved their essay scores in the short term but showed no meaningful gains in knowledge, and were prone to "metacognitive laziness," a dependence on the tool that undermined their ability to self-regulate and engage deeply in learning. Python Tutor's success demonstrates that research funding can create tools that quietly become part of global learning infrastructure. Guo emphasizes that keeping the platform free and accessible has been possible because it's supported through federal research dollars from organizations like the U.S. National Science Foundation, which awarded him a CAREER grant. This investment enables ongoing development and student involvement, turning research into a public resource used by tens of millions worldwide. As AI transforms how software gets written, the timeless skill underneath remains unchanged: understanding how logic works, step by step. For millions of learners worldwide, Python Tutor is where that understanding begins, and in an age of AI code generators, that foundation has never been more valuable.