2 ms·
I think this is one place where you're totally working against the language. Edit: I don't know how you can arrive at this conclusion given the history of the
by andrewmcwatters 3y ago
I think this is one place where you're totally working against the language.
Edit: I don't know how you can arrive at this conclusion given the history of the language. The STL isn't the C++ standard library.
I would love to discuss this more, but dang has limited and nerfed my account.
- chris_wot 3y agoNot really. Look at the standard template library. It’s not really using classes with inheritance. It’s using non-member functions, often with iterators. Ironically I’ve just learned, however, that lambdas are actually anonymous classes! I’m currently up to the bit in yhe book I referred to before that explains how to do currying in C++. The more I read, the more I think I’m working against the code base than I am against C++. I’m actually very curious how ranges work, something the book talks about later.
- chris_wot 3y agoSorry, not STL, I meant the standard C++ library. Edit: send an email to news@ycombinator.com