David Malan, a prominent figure at Harvard, has significantly impacted computer science education through his course, CS50. Launched in 2007, CS50 has evolved into Harvard’s largest course, extending its reach globally through online modules covering diverse topics like cybersecurity, Python, SQL, and AI.
This fall, Malan is on sabbatical, with teaching responsibilities transferred to Henry H. Leitner. During this period, the teaching team has been utilizing the CS50 Duck, an AI tutor designed to assist students without providing direct answers, fostering their problem-solving skills instead.
In a conversation, Malan discussed the development and functionality of the Duck, emphasizing its goal to guide students rather than simply provide solutions. The implementation of the Duck involved careful prompting and custom programming to ensure it adheres to academic honesty while offering constructive assistance.
Malan acknowledged both the positive and negative implications of AI in education. While AI enhances accessibility by allowing students to ask more questions, over-reliance can detract from the essential challenges that facilitate learning. The introduction of a “heart system” limits question frequency to encourage students to engage more independently.
On the broader implications of AI in society, Malan expressed a sense of inevitability regarding the rapid advancements in AI technology, particularly in coding. He noted the need for responsible regulation to address potential AI misalignment issues.
Finally, despite the rise of AI and “vibe coding,” Malan maintains that learning to code remains valuable. He believes that understanding the fundamental concepts of computer science—algorithmic thinking and problem-solving—equips students with the tools to navigate a technology-driven world.