
Episode 117: OOP, C++ Containers, APIs, EOP & More with Zach Laine!
Algorithms + Data Structures = Programs
00:00
The Cost of Adding a New Type in the Interface of a Type
I think what once you learn more about generic programming you you start to become aware of the cost of adding a new type and of added complexity in the interface of a type. We end up in this world where we have things like string that have dozens of different operations on it and when we wanted to make a another string like thing string view we had no choice but to make string view have all those same operations as well. And I think that's a much worse world than the world that we could have lived in with some sort of concept for string types. This is why um you know this boost library has steel interfaces and hopefully we're going to standardize this but I have a class in
Transcript
Play full episode