Message from JavaScript discussions

October 2018

β€” Passing different types will cause trouble


Hi to everyone πŸ˜ƒ!
I've tested the power of sync and async generators (es8) making something similar to transducers, because you can compose adjacent map, filter and reduce.
You can find the code here:

A little feedback will be appreciated. Unfortunately yield is still not an efficient operation so I don't think that for now my library could be useful.
But it is possible to see what es8 nowadays can do.

β€” Thomas likes to fit pipes🀀 result = water(param).pipe(func1, func2) or maybe result = waterPipe(param, [func1, func2])

Message permanent page

β€” Your api design is not good, imo

β€” ?

β€” Whats your api preference? computer(make(me(a(program)))) or computer(make).me(a, program) or..

β€” Second one

β€” First one

β€” Pure functions are composable, objects and props are usually not

β€” Monolith🀀

β€” And you can apply math to composable functions

β€” No, many functions