
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.