Re:Clever code is probably the worst code you could write
by autoexecbat on Tuesday May 21, 2024 @07:05PM
(#40435218)
I think most people would be thinking "hmm now I need to read what 'reduce' mean in this context"
[ Parent
| on HN ]
Re:Clever code is probably the worst code you could write
by jacoblambda on Tuesday May 21, 2024 @07:19PM
(#40435397)
At 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.