Substrate

#programming #side-effects #composition
On Compositionality
On Compositionality
reasoning about the system should be done recursively on its structure. ​ good software design is ultimately an art. ​ another example of reasoning via an interface. ​ I suspect that interfaces are in fact synonymous with compositionality. That is, compositionality is not just the ability to compose objects, but the ability to work with an object after intentionally forgetting how it was built. ​ can interact in complex ways that block understanding ​ More generally, I claim that the opposite of compositionality is emergent effects. The common definition of emergence is a system being ‘more than the sum of its parts’, and so it is easy to see that such a system cannot be understood only in terms of its parts, i.e. it is not compositional. Moreover I claim that non-compositionality is a barrier to scientific understanding, because it breaks the reductionist methodology of always dividing a system into smaller components and translating explanations into lower levels.
·julesh.com·
On Compositionality