4 ms·
I've used currying in the past but these articles don't really make you tick at all as they introduce the concept first, which doesn't mean anything until you r
by mekster 3y ago
I've used currying in the past but these articles don't really make you tick at all as they introduce the concept first, which doesn't mean anything until you realize you actually need it to solve a problem you may encounter but examples also doesn't really feel like it's usable in day to day code.
I've used it to keep specific variable assigned on a function for later use such as for asynchronous functions which you'll lose the current state without saving it somehow such as by currying.