6 ms·
I think most people would be thinking "hmm now I need to read what 'reduce' mean in this context"
by autoexecbat 2y ago
I think most people would be thinking "hmm now I need to read what 'reduce' mean in this context"
- a_t48 2y agoFor at least the first time, yeah.
- CuriousCosmic 2y agoAt least in my experience in the C++ world there is a general expectation that you learn the "standard algorithms" and prefer them over the alternatives unless you have a specific reason not to. For example: outside the C++ ecosystem, most people probably would stare blank faced if they saw `std::rotate` in a codebase but it's basically a meme at this point in the C++ space. Ex: https://www.youtube.com/watch?v=UZmeDQL4LaE https://www.youtube.com/watch?v=UZmeDQL4LaE