6.100L | Fall 2022 | Undergraduate

Introduction to CS and Programming using Python

Lecture 20: Fitness Tracker Object-Oriented Programming Example

Prof. Bell uses fitness trackers as an example to explain the difference between implementing a new object type using a class and using the object in code and the two different coding perspectives. Object-oriented programming is a powerful tool for modularizing your code and grouping state and functions together, but it’s possible to overdo it.

Course Info

Fall 2022
Lecture Notes
Lecture Videos
Podcasts
Problem Sets
Problem-solving Notes
Programming Assignments with Examples
Readings