3 ms·
We have some info on our docs here: https://docs.nstack.com/en/latest/features/index.html https://docs.nstack.com/en/latest/features/index.html (See the composi
by NickPollard 9y ago
We have some info on our docs here: https://docs.nstack.com/en/latest/features/index.html https://docs.nstack.com/en/latest/features/index.html (See the composition section at the top).
Composition is a simple technique to build functions out of multiple simpler functions. It's heavily used in Functional programming but we think it's really useful for everyone, particularly data workers who might be gluing together lots of different modules/libraries/systems. We also use types to help check that functions can compose - this can catch schema mismatch errors early rather than waiting until you run your data pipeline to realise that the output of one function isn't _quite_ what your second function expects.
Wikipedia as some more detailed info on function composition: https://en.wikipedia.org/wiki/Function_composition_(computer_science) https://en.wikipedia.org/wiki/Function_composition_(computer...