3 ms·
Cognitive overhead is the key word for me here - it can be just as difficult to reason about massively long function chains as a bunch of stateful classes, but
by taurath 7y ago
Cognitive overhead is the key word for me here - it can be just as difficult to reason about massively long function chains as a bunch of stateful classes, but usually in my experience an OO codebase follows conways law very tightly in that you get a history of how developers were split up - not discreet units of functionality with well defined interfaces. It’s hard to say something is objectively better, but it’s along the same lines to me as not buying a car from a manufacturer with a bad reputation.
- jyounker 7y agoThat not an OO thing. That is Conway's law. It applies to all software.
- mijoharas 7y ago> usually in my experience an OO codebase follows conways law very tightly grandparent comment is saying that OO codebases express conways law more fully (as it is definitely a spectrum). I don't have an opinion on it either way (beyond stating that adherance to conways law is a spectrum rather than binary), just clarifying.