by shib71 on 4/5/2013, 12:15:02 AM
by bliker on 4/4/2013, 11:04:59 PM
I think this kind of approach can reduce complexity in JS. Witch is for me by far the biggest problem. Will give it a try.
by swah on 4/5/2013, 12:27:31 AM
Is this from you, combataircraft? Always curious about your style because you always post that EditGrid example :)
by efnx on 4/5/2013, 5:03:29 AM
What about going a little further and writing in a purely functional language like Elm?
by ibotty on 4/4/2013, 11:36:42 PM
hi nice work. it's always nice to have functional programming paradigms in javascript.
is there any (technical or political) reason, why this is or will not be part of underscorejs?
You need to explain more - for example what do you mean by a "partial"? A quick search for "partial functions" gave me several links to mathematics articles. When I followed the links to the composition modules I got more of the same impenetrable context-less style.
What I did get from the article is something that works a lot like promises:
- async functions return type of "eventual" data (in your case, a function you pass a callback to)
- various other functions that can operate on that eventual data type to return more eventual data
What does this style offer that standard promises doesn't?