4 ms·
I don't think that OO is wrong for all problems, but I do take issue with the fact that it almost always inherently means distributed state. If you have multipl
by threatofrain 10y ago
I don't think that OO is wrong for all problems, but I do take issue with the fact that it almost always inherently means distributed state. If you have multiple objects, then you probably have distributed state.
Sometimes your problem is inherently a distributed state problem, and that's fine. But OO doesn't care if this is sometimes true. OO pushes people toward distributed state architecture, and it unnecessarily encourages excess state splitting even if the problem inherencies don't warrant it.