September 2018
β It's not a statementπ€€ it's a new type of arrow function that calls itself automaticly
const something = x => { if (x) { return a(x); } else { return b(x); }};
const something = ifElse( identity, a, b);
β Jezuz. and what about the overhead? i mean, if you really like functions, why do you apply them everywhere?
if
Message permanent page
β Some kind of api
β It's where the context of functional stuff
β Human input
β I think you like to build expressions with words, that's why
β Of course
β Not noticeable
β Besides, I have a compiler for crazy optimizations
β JavaScript compiler to binary?
β "Binary"