3 ms·
> I really don’t see what chaining via methods bring that simple function composition doesn’t. Visual flow from input to output. (Ruby can compose either way,
by dragonwriter 5y ago
> I really don’t see what chaining via methods bring that simple function composition doesn’t.
Visual flow from input to output.
(Ruby can compose either way, so you can build a pipeline of procs in flow order, but if you aren’t chaining the input still goes at the end, not the beginning.)