Software dev at Netflix | DC techie | Conference speaker | egghead Instructor | TC39 Educators Committee | Girls Who Code Facilitator | Board game geek | @laurieontech on twitter
Software dev at Netflix | DC techie | Conference speaker | egghead Instructor | TC39 Educators Committee | Girls Who Code Facilitator | Board game geek | @laurieontech on twitter
I have never really understood a use for this. I feel like it is useful, but I just cant find how!
It's a functional programming pattern for sure.
I love functional programming, its what I push for all my code to be where possible (I often work with other peoples code bases).
I just cant think of a situation where I have got an array that I both need to iterate over and flatten at the same time.
Seems like this has some good ones! 2ality.com/2017/04/flatmap.html