Confusing naming of function passed to Array.map
LeonardoGentile opened this issue · comments
Hello,
not a real issue but just a naming of a method that confused me for a bit.
In datasource/launch there is method called launchReducer
passed to Array.map
. This method is responsible to take each launch returned by the Rest API and mapping it to another object.
So I guess this function should be called lauchMapper
, because that's what it does. It doesn't reduce multiple element into a single one, isn't it?
Just highlighting this because it is a bit confusing