Introduction to OOP Chapter 20: The STL : next previous audio real text

Generic Algorithms versus Encapsulation

Object-Oriented programming holds encapsulation as an ideal, bundling all actions in one place. Can make for ``fat'' classes.

The STL separates data structures and algorithms. The data structures are relatively small. The algorithms are many. Can be mixed and matched.

Allows for a much smaller class library.

Intro OOP, Chapter 20, Slide 02