3 ms·
No way. Majority of a so-called OOP code is nowhere close to an adequate representation of the problems it is supposed to solve. Most of the code out there is e
by sklogic 11y ago
No way. Majority of a so-called OOP code is nowhere close to an adequate representation of the problems it is supposed to solve. Most of the code out there is either not very OOP, breaking the purity for the sake of common sense, or a pile of convoluted overbloated crap.
- paxcoder 11y agoMore unsubstantiated claims. But even if you could prove all of them to be true, the superiority of alternatives is a different matter entirely.
- sklogic 11y agoSuperiority is obvious. An alternative is to represent the real world problem domains as is, without hammering them into any stupid, inadequate "models" like OO, functional, whatever else.
- rumcajz 11y agoSpeaking of inheritance and adequate representation of reality, it's extremely hard to come up with something real that looks like a class hierarchy. The two things I was able to come up with are the tree of life and some military or bureaucratic hierarchies.