A map lambda example is what I had in mind when reading the article. I'm not a big fan of the temporary variables, though.
Admittedly the example below is not a perfect solution, but that's where I thought the article was heading when splitting that code over multiple lines for readability.
Admittedly the example below is not a perfect solution, but that's where I thought the article was heading when splitting that code over multiple lines for readability.
Is this still too unreadable or more messy?