DEV Community

Discussion on: Pro tip: using Promise.then for function composition

Collapse
 
shalvah profile image
Shalvah

I'm curious as to why you think it's better to "map once". I personally prefer using "then" repeatedly, because it might take a while for people who aren't familiar with functional programming to grab the concept of piping.