I saw a claim recently that in functional programming using "map/filter iterates over the list twice, while the foreach loop iterates only once."| ntietz.com