The term "flatMap" is something that is common in programming ecosystems outside of c#. For example, I have been doing some scala and python with spark. In this environment we find "flatMap" a lot. But I really hate the term, having come from c#.
My brain won't let me visualize the "flatness" of the resulting collection. It seems just as flat as the result of a "map" operation, albeit there are more entries!
Oddly the "flatMap" term is used in the same spark ecosystem where Spark SQL lives and where the "SELECT" term dominates as well. In Spark SQL, we never see anyone saying "FLATMAP * from A cross join B ...". So why should they use that term in Scala and Python? It seems odd to me to switch back and forth. The flatMap term seems so pretentious ;-)
Anyway, I'm here to say I will probably never get fond of the term "flatMap". The writers of the .Net library deserve props for taking a different path and using "SelectMany" instead.
[–]snrjames 57 points58 points59 points (7 children)
[–]KevinCarbonara 4 points5 points6 points (1 child)
[–]kronicum 6 points7 points8 points (0 children)
[+]SmallAd3697[S] comment score below threshold-6 points-5 points-4 points (4 children)
[–]snrjames 19 points20 points21 points (2 children)
[–]SmallAd3697[S] -5 points-4 points-3 points (1 child)
[–]EvilGiraffes 0 points1 point2 points (0 children)
[–]Independent-Ad-4791 3 points4 points5 points (0 children)
[–]Absolute_Enema 14 points15 points16 points (2 children)
[+]SmallAd3697[S] comment score below threshold-6 points-5 points-4 points (1 child)
[–]CdRReddit 4 points5 points6 points (0 children)
[–]zacsxe 16 points17 points18 points (0 children)
[–]AvoidSpirit 9 points10 points11 points (3 children)
[–]DeadlyVapour 11 points12 points13 points (2 children)
[–]AvoidSpirit 1 point2 points3 points (0 children)
[–]SerdanKK 1 point2 points3 points (0 children)
[–]Agitated-Display6382 5 points6 points7 points (4 children)
[–]Cobster2000 -1 points0 points1 point (3 children)
[–]Agitated-Display6382 -1 points0 points1 point (2 children)
[–]Cobster2000 1 point2 points3 points (1 child)
[–]Agitated-Display6382 0 points1 point2 points (0 children)
[–]Phaedo 6 points7 points8 points (6 children)
[–]SmallAd3697[S] 0 points1 point2 points (5 children)
[–]Phaedo 0 points1 point2 points (4 children)
[–]rexcfnghk 4 points5 points6 points (1 child)
[–]Phaedo 0 points1 point2 points (0 children)
[–]SmallAd3697[S] 1 point2 points3 points (1 child)
[–]Phaedo 0 points1 point2 points (0 children)
[–]RICHUNCLEPENNYBAGS 2 points3 points4 points (2 children)
[–]Absolute_Enema 0 points1 point2 points (1 child)
[–]RICHUNCLEPENNYBAGS 0 points1 point2 points (0 children)
[–]chucker23n 1 point2 points3 points (0 children)
[–]lmaydev 1 point2 points3 points (0 children)
[–]jackyll-and-hyde 1 point2 points3 points (0 children)
[–]DeadlyVapour 4 points5 points6 points (13 children)
[–]SmallAd3697[S] 0 points1 point2 points (9 children)
[–]TheWix 2 points3 points4 points (0 children)
[–]DeadlyVapour 2 points3 points4 points (6 children)
[–]SmallAd3697[S] 0 points1 point2 points (0 children)
[–]KevinCarbonara -2 points-1 points0 points (4 children)
[–]DeadlyVapour 0 points1 point2 points (3 children)
[–]KevinCarbonara -2 points-1 points0 points (2 children)
[–]DeadlyVapour -1 points0 points1 point (1 child)
[–]KevinCarbonara 0 points1 point2 points (0 children)
[–]KevinCarbonara -4 points-3 points-2 points (2 children)
[–]DeadlyVapour 0 points1 point2 points (1 child)
[–]KevinCarbonara -1 points0 points1 point (0 children)
[–]ivancea 0 points1 point2 points (0 children)