2 ms·
Data structures fit OO extremely well because of OO's ability to encapsulate state and how it can use inheritance to make different implementations of data stru
by dehrmann 6y ago
Data structures fit OO extremely well because of OO's ability to encapsulate state and how it can use inheritance to make different implementations of data structures interchangeable (hash-based maps vs sorted, tree-based maps).