LECTURES A GRATIS GLOBAL SERVICE
⌕ SEARCH GRATIS GLOBAL ↗
LECTURES / COMPUTER SCIENCE
Fitness Tracker Object-Oriented Programming Example
SOURCE: YOUTUBE · NO YOUTUBE TRACKING UNTIL YOU PRESS PLAY · TROUBLE PLAYING? WATCH AT THE SOURCE ↗

Fitness Tracker Object-Oriented Programming Example

79 MIN · EN · STATUS: [ STREAMING ]
RATE THIS
MIT · Introduction to CS and Programming using Python · LECTURE 20

At a glance

Ana Bell teaches this lecture from MIT's 6.100L Introduction to CS and Programming using Python, using a fitness tracker as the running example to explain object-oriented programming. She contrasts two perspectives on the same code: implementing a new object type by writing a class, versus using that class as a client in a program. The lecture covers grouping state and behavior together inside objects, defining methods, and building up a working fitness tracker example step by step on screen. Bell also addresses the limits of the paradigm, noting that object-oriented design is a useful tool for modularizing code but can be overused if applied indiscriminately. The session runs just over an hour and keeps closely to live coding and explanation rather than slides, typical of the course's hands-on style.

At a glance

Lecture facts

Runtime compared with the other 799 Computer Science lectures
Runtime1 h 19 m
Compared with Computer ScienceLonger than 76%
Link status✓ Working · checked yesterday
This series

Introduction to CS and Programming using Python

Every lecture in order, sized by its length.

  • Earlier lectures
  • This lecture
  • Still to come
Lecture 20 of 25 19 h 56 m before this · 26 h 30 m in total

More from this course

12 LECTURES
Introduction to CS and Programming Using Python: Lecture 1

Introduction to CS and Programming Using Python: Lecture 1

MIT · 64 MIN
Strings, Input/Output, and Branching

Strings, Input/Output, and Branching

MIT · 79 MIN
Lecture 3: Iteration

Lecture 3: Iteration

MIT · 47 MIN
Lecture 4: Loops over Strings, Guess-and-Check, and Binary

Lecture 4: Loops over Strings, Guess-and-Check, and Binary

MIT · 73 MIN
Lecture 5: Floats and Approximation Methods

Lecture 5: Floats and Approximation Methods

MIT · 47 MIN
Lecture 6: Bisection Search

Lecture 6: Bisection Search

MIT · 74 MIN
Decomposition, Abstraction, and Functions

Decomposition, Abstraction, and Functions

MIT · 46 MIN
Functions as Objects

Functions as Objects

MIT · 78 MIN
Lecture 9: Lambda Functions, Tuples, and Lists

Lecture 9: Lambda Functions, Tuples, and Lists

MIT · 45 MIN
Lecture 10: Lists and Mutability

Lecture 10: Lists and Mutability

MIT · 75 MIN
Lecture 11: Aliasing and Cloning

Lecture 11: Aliasing and Cloning

MIT · 46 MIN
Lecture 12: List Comprehension, Functions as Objects, Testing, and Debugging

Lecture 12: List Comprehension, Functions as Objects, Testing, and Debugging

MIT · 76 MIN