Or you could just ... use variables.
Then you can also have sensible names.
And it won't be any less functional.
Sure, I never said you couldn't use variables. Which of the problems do you think can be solved by using variables? I never said anything about having sensible names, are you confusing this post with some other post?
Since you're suggesting point-free composition it might be a good idea to also consider the alternative.
const deduplicated = deduplicate(data); const inverted = invert(deduplicated); ...
Each approach has its strengths and weaknesses, after all.
Some comments have been hidden by the post's author - find out more
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Or you could just ... use variables.
Then you can also have sensible names.
And it won't be any less functional.
Sure, I never said you couldn't use variables. Which of the problems do you think can be solved by using variables? I never said anything about having sensible names, are you confusing this post with some other post?
Since you're suggesting point-free composition it might be a good idea to also consider the alternative.
Each approach has its strengths and weaknesses, after all.