3 ms·
Hm, I'm not sure about that. The thrust of the argument seems to be that object orientation conflates state and behavior far beyond the point that it is useful
by dasil003 17y ago
Hm, I'm not sure about that. The thrust of the argument seems to be that object orientation conflates state and behavior far beyond the point that it is useful--that things end up getting shoe-horned into objects where it doesn't make sense just to satisfy the paradigm. I think there's definitely something there even if the rant is a little over the top.
In my opinion OOP took off because it's such a natural fit for GUI programming and then everyone just started thinking that way. It's natural to think about data types and the functionality that goes along with them, but I don't think you need to go nearly so far down the path that recent languages have taken in order to satisfy that association.
- seregine 17y agoSure, it's just another tool, but OOP is not Java. The original post said "objects are a bad way of modeling the universe."
- dasil003 17y agoMy comment is not specifically about Java. I really think there is a limit to the usefulness of fusing all data to the code that operates on it. I'm not religious about it or anything, I think it's just something that bears consideration in today's software ecosystem.