3 ms·
They are not very similar in implementation due to the nature of the languages. But the idea that it would be useful for the Java standard library to provide fl
by iainmerrick 8y ago
They are not very similar in implementation due to the nature of the languages. But the idea that it would be useful for the Java standard library to provide flexible, extensible, general-purpose containers (as opposed to ad-hoc stuff like Vector and Hashtable) was inspired by the STL.
- pvg 8y agoI don't think that's accurate or that the general idea comes from STL. STL itself is a very particular kind of design.
- iainmerrick 8y agoWhat’s a good example of a really flexible, composable containers library that predates STL? I think STL was the first mainstream one. I guess some of the ideas came from Ada? But I don’t know if Ada had standardized containers.
- pjmlp 8y agoSmalltalk and Eiffel collections. Long before STL was a thing in C++. Stepanov started STL original design in Ada, before switching to C++. Recent Ada standards have adopted collection classes as well.