
Episode 115: Max Gap in C++23
Algorithms + Data Structures = Programs
00:00
C++
I would rather have like the bare like core sort of fundamental algorithms. And in certain cases, like any of and all of and none of those provide a lot more readability. But also more importantly, if you want keys, values or pair wise, it's like one line that you can add to your program. So I am loathe to add more member functions to containers. The alternative if we didn't want like instead of having the alias for keys, I think we could have added a method to map and unordered map and multi maps that returns you a range and it would just do elements zero and one.
Transcript
Play full episode