DEV Community

Discussion on: Decomposing Composition

Collapse
 
pdlmn profile image
pdlmn

great write Toby!
I have been interested in functional JavaScript and functional programming in general in a large part because of you
right now I am learning about TDD and testing in general, and it looks like it's a great time to try and apply functional tricks and concepts in my next project
the challenge: write at least half of the functions without writing body at all, just with pipes and compositions

Collapse
 
parenttobias profile image
Toby Parent

Quite a lot of functions are simply compositions of others. I'd be very interested in seeing how it works for you!