
What is Programming For Lovers?
The last coding course you’ll ever need.
Programming for Lovers combines the depth of an acclaimed Carnegie Mellon University programming course with the flexibility of self-paced learning. Each chapter follows a proven learning cycle (read, code along, practice) to help you master the fundamentals of programming.
Stuck between beginner courses and larger projects? We are your bridge!
What is P4L?
The last coding course you’ll ever need.
Programming for Lovers combines the depth of an acclaimed Carnegie Mellon University programming course with the flexibility of self-paced learning. Each chapter follows a proven learning cycle (read, code along, practice) to help you master the fundamentals of programming.
What makes us unique?
🎉 Fun
Learning to program should be, first and foremost, enjoyable: we have worked hard to find applications and exercises that aren’t just rote practice.
🔬 Science applications
Every moment of the course relies on a scientific narrative: simulate gravity, predict elections, and build evolutionary trees of deadly viruses.
🧠 Rigor
Take a course used successfully for over a decade to prepare students at Carnegie Mellon University for technically demanding careers.
💻 CS foundations
Explore Turing machines, undecidability, and P vs NP to understand not just how to code, but learn what a computer can and cannot do.
📖 Learn, then code
Introductory readings for each chapter give a stress-free language neutral way to learn programming without worrying about language syntax through pseudocode.
🤝 Pick your language
Whether you’re a new coder or an experienced pro, with Programming for Lovers, you can choose the language you learn: Python, Go, and (coming soon!) Java.
Meet our team

Phillip Compeau
Founder
Phillip is an Assistant Dean and Teaching Professor in the School of Computer Science at Carnegie Mellon University. He has designed a range of STEM courses to a diverse collection of student groups, built several student-centric academic programs, and founded scalable online education projects that have reached over a million learners, including Rosalind, Bioinformatics Algorithms, and Biological Modeling.

Arush Khare
AI Engineer
Arush is an undergraduate computer science student. He has worked on interdisciplinary CS projects, including a research satellite, and his current interests lie at the intersection of Agentic AI and ML systems. In his free time, he likes to play basketball and piano, listen to music, and try singing and rapping.

Kate Zhang
Software Engineer
Kate is a master’s student in Computational Biology at Carnegie Mellon. On P4L she works across the full stack, including the streak system and the AI tutor, and her research applies machine learning to genomics. In her free time, she likes to bake, play badminton, and go running.

Sorro Sun
Software Engineer
Sorro is a master’s student in Computational Biology at Carnegie Mellon University. On P4L she works across the full stack, including the autograder, the in-browser IDE, and GitHub solution syncing. In her free time, she likes to play video games and pet every cat and dog she meets.

Mia Sanborn
Content Engineer
Mia is a senior majoring in computational biology with a concentration in machine learning at Carnegie Mellon University. On P4L she writes the daily challenges, building the bank of exercises behind our streak system. She loves using computer simulations to model biological processes, especially cancer evolution, and her favorite P4L topic is cellular automata. She is president of the Computational Biology Undergraduate Society and plays on Carnegie Mellon’s Ultimate Frisbee team, the Money Mellons.

Sriya Veeramachaneni
Content Designer
Sriya is a master’s student in Computational Biology at Carnegie Mellon University. On P4L she restructures the course content so that the readings, code-alongs, and exercises line up, and she leads the design of the redesigned site. Before joining P4L, she helped build the House Points app for CMU’s Pre-College Program in Computational Biology.
Emeritus
They built P4L, and then they aged gracefully. Hover over a photo to see them as they once were.

Daphne Han
Web Designer
Daphne is a master’s student in the Integrated Master’s in Computational Biology program at Carnegie Mellon University. She completed her undergraduate degrees in computational biology and IDeATe: Design for Learning at CMU. Her interests lie in developing machine learning methods to address biological problems, statistical genetics, designing accessible educational spaces, and science communication.

Sophia Chen
Content Engineer
Sophia is an undergraduate artificial intelligence major at Carnegie Mellon University. She loves programming and learning. In her free time, she enjoys playing tennis and watching FBI/crime shows.

Jon Potter
Content Engineer
Jon is an Automation Engineer and alumnus of Carnegie Mellon University, where he completed a master’s in automated science. His passion lies in revolutionizing scientific research through cutting-edge technology, particularly in the realms of drug discovery, genomic research, and longevity studies.

Xavier Lien
Content Engineer
Xavier is an undergraduate computer science and mathematics student at Carnegie Mellon University. Since picking up programming in middle school, he has always enjoyed problem solving and building things, from full stack web development to machine learning applications. He also hopes to further develop his interest in programming languages and type theory.

Spencer Fisher
Content Engineer
Spencer is an undergraduate at Carnegie Mellon University studying computer science with a minor in Chinese studies. In his spare time, he plays on the CMU club rugby team and is an avid soccer fan. He loves contributing to platforms with real-world impact.

Anna Boeva
Teaching Assistant
Anna is an undergraduate studying computational biology with a concentration in machine learning at Carnegie Mellon University. She loves applying computer science theory to biological problems and hopes to transform the future of cancer research and biological circuits. In her free time, she is Treasurer of CMU Star Wars and likes to cozy up with a good book.

Shivank Sadasivan
AI Engineer
Shivank is a computational biologist, and an alumnus of Carnegie Mellon University, where he earned his master’s degree in Computational Biology. His work centers on interdisciplinary research at the interface of biology, computation, and data science. A former Teaching Assistant at CMU, he collaborated with Dr. Compeau on several core courses, and is deeply committed to advancing research-driven, open-source education in computational biology.