3 ms·
In my mind it doesn't achieve either. Functional programming isn't an end unto itself, it's one of several strategies for breaking programs down into manageabl
by pdpi 11y ago
In my mind it doesn't achieve either.
Functional programming isn't an end unto itself, it's one of several strategies for breaking programs down into manageable chunks. Without showing how this type of tiny function is used in journeyman Haskell code, nor showing how the translation to ES6 would apply to real world JavaScript, it just feels like functional wankery.
- sdegutis 11y agoWell, I agree that code for the sake of code is dumb. But I can also imagine practical applications for these things. So, it gets a +1 from me.