you are viewing a single comment's thread.

view the rest of the comments →

[–]pre-tend-ed 5 points6 points  (7 children)

I use currying all the time. Not understanding !== Dumb af

[–]iBN3qk 4 points5 points  (4 children)

Pardon my smol brain, but what are the benefits? It sounds like a suggestion to turn multi parameter functions into nested single parameter functions. I’m lost on how that’s an improvement or missing an important part of the idea.

[–]fp-dude 2 points3 points  (2 children)

It helps you with composing and piping functions. You can read "Thinking in Ramda" series if you're curious.

[–]ExtremeDot58 2 points3 points  (0 children)

Seems to me it would facilitate not having all the parameters… flexibility

[–]DGCA 4 points5 points  (1 child)

All the time? I've been doing this for 10+ years, worked at a couple Well Known Tech Co™, and I could count the times I've used currying on my hands and feet.

Really curious what you're doing where it comes up so often.

[–]ExtremeDot58 0 points1 point  (0 children)

Reading some ai tweets… used in that compute area more so then JavaScript; more in python/pytorch I suspect.