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

Instructor
As Taught In
Fall 2022
Learning Resource Types
Lecture Videos
Lecture Notes
Problem Sets
Programming Assignments with Examples
Readings
Recitation Notes