Functional style - examples

In the C++ world, there has been encouragement building for a decade or so for developers to more frequently utilise their standard algorithms library.

This is a great talk … (2013) C++ Seasoning. GoingNative 2013 C++ Seasoning - YouTube

Sean Parent is from Adobe and Google, and was a boss to Alexander Stepanov.
In part of the talk he shows some “normal” not-so-readable code from the Chromium code base, and progressively transforms it into two algorithm calls. I would suggest any developer to watch it, it is not c++ dependent at all.