Cofounded Host Collective (DiscountASP.net). Cofounded Player Axis (Social Gaming). Computer Scientist and Technology Evangelist with 20+ years of experience with JavaScript!
Cofounded Host Collective (DiscountASP.net). Cofounded Player Axis (Social Gaming). Computer Scientist and Technology Evangelist with 20+ years of experience with JavaScript!
This almost looks like lisp, I like it ❤️
One trick I learned recently to making curried functions readable is to format them with spaces between the parens. I live this style :
I also have
eslint-config-mojiscript
to enforce this with eslint!Cheers!
Yeah, I add the spaces between the parenthesis too, but I don't curry all functions by default, only when I need so to do function composition.
That was one requirement of MojiScript, all functions must be curried. When every function is curried, every function can be composed!
There are also no callbacks. Every callback-style function must be promisified.
Cheers!