3 ms·
> I'm not quite sure what the end-game is, here? My guess is that it's to show that (1) Haskell is pretty awesome, and (2) EC6 is pretty awesome too. In revers
by sdegutis 11y ago
> I'm not quite sure what the end-game is, here?
My guess is that it's to show that (1) Haskell is pretty awesome, and (2) EC6 is pretty awesome too. In reverse order maybe?
- pdpi 11y agoIn 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.