Message from JavaScript discussions

July 2017

— I can guess but I want to know your opinion, heh

— 

Because people who are developing apps will be surprised if some random piece clutters their localStorage

— People don't read docs of every piece of code they include, so the code they include shouldn't get in their way

Message permanent page

— Nice, data logistics company is sending me some JS test cases as a test tomorrow

— I guess my goal is to make the test cases pass by debugging the code

— Thanks

— My docs are especially big for what it is, too

— 

const compose = (...funcs) => x =>
funcs.reduce((x, f) => f(x), x);

— What do you think of this snippet?

— It's a... function in a function in a function

— How does that work?

— 

const upperCaseName = compose(
getName,
x => x.toUpperCase()
);

upperCaseName(person);