Home

Carnegie Mellon Quality. Learn for free.

The last coding course you'll ever need

Programming for Lovers is an open course where you write code to answer real scientific questions, built on award-winning teaching from Carnegie Mellon University.

Table of Contents

Building a Gravity Simulator with Object-Oriented Programming

We'll introduce object-oriented programming and abstraction, then simulate how a small universe of bodies moves under Newtonian gravity by exploring the three-body problem.
Chapter 4

Evolutionary Trees and More Object-Oriented Programming

We'll deepen our understanding of object-oriented programming by implementing UPGMA, one of the most famous algorithms for constructing evolutionary trees.
Chapter 5

Watch Our Intro Video

Hear From Our Learners

Scroll to Top
Programming for Lovers banner no background
programming for lovers logo cropped

Join our community!

programming for lovers logo cropped
Programming for Lovers banner no background

Join our community!