4 ms·
It's just f and g being poor names, also on keys next to each other. The circle is a good symbol for a whiteboard, but it's a poor identifier. Normally you wri
by nine_k 4y ago
It's just f and g being poor names, also on keys next to each other. The circle is a good symbol for a whiteboard, but it's a poor identifier.
Normally you write composition like readFile().then(stripComments).then(sort).then(takeFirst), or compose using shell pipes.
Composition is so widespread and so trivial-looking that it's even easy to miss.