marc at kdab.com
Thu Jun 6 15:36:07 CEST 2019
On 2019-06-06 15:14, Konstantin Tokarev wrote:
> There is a principle of single level of abstraction , and inline
> of flat map can be viewed of violation of such principle. If flat map
> were kept speparately, it would indeed make code easier to read and
>  http://principles-wiki.net/principles:single_level_of_abstraction
The code factors the setting and lookup into functions already. A
function is an abstraction. If you're concerned about a function that
calls find_if and then uses the result, how do you rate this one:
It's using _all_ the nice abstractions!
Puts some stuff into perspective, doesn't it?
More information about the Development