|
|
|
|
|
by YuukiRey
1264 days ago
|
|
I wrote a blog post once, https://www.fbrs.io/ramda/, where I compared a functional solution and a vanilla solution. I tried to cover both performance and some vague notion of readability. In the end the vanilla solution won in both areas. And I say that as an FP and Haskell fan boy. |
|
Edit. For some reason people equate "functional" with Haskell, even though Javascript (and most modern languages) is perfectly capable of expressing functional idioms without the descent into madness.
Your vanilla solution is already a functional solution. Literally no need for `transduce pipe map over lens`