4 ms·
Ok. Mind naming a single problem domain besides one I've mentioned that should be modelled the OOD way? There are none. And please do not confuse the OOPish la
by sklogic 11y ago
Ok. Mind naming a single problem domain besides one I've mentioned that should be modelled the OOD way? There are none.
And please do not confuse the OOPish language features (which are just poor man modules support in most cases) with OOP-the-design-methodology. The latter is garbage, the former is just an innocent bunch of language features.
Btw., it is funny when OO zealots are calling anything else a "religion". They should look in a mirror first. OO is a religion and nothing but a religion.
- charlesism 11y agoYou misunderstand me. I agree that OOP is also a religion. If the video had railed against functional programming, I'd be inclined to post similar comments, with the words "OOP" and "Functional" swapped. I don't know how to go about debating the merits of OOP, aside from saying it's convenient for things that... behave like objects. And of course there are multiple ways to skin a cat, so you can reply with alternate ways to code graphical widgets etc. And then I say you're putting the horse before the cart, and you say the same to me... The only thing I'd be dogmatic about is that programming is still a complicated mess, and it will likely remain so for decades. Nobody has any of this remotely figured out, so it's probably best to be pragmatic, rather than commit oneself to purported "magic bullets" (whether they be OOP, POP, Functional, Procedural, etc). My guess is that the real "magic bullet" will come from AI. I doubt human beings are smart enough to reason about what good programming practices look like. So until an AI comes along to tell programmers how best to design code, it's all just a matter of personal preference.
- sklogic 11y agoThis "magic bullet" mentality is exactly what is wrong with OOD/OOP. If it was not used to model the reality, I'd find it much more tolerable. > I doubt human beings are smart enough to reason about what good programming practices look like. You don't need to be smart to reason, after all, reasoning is a formal, mechanical thing. And there is always a mechanically derived best possible model for each and every problem domain. So it is in fact always very easy to prove that OOP is inadequate and another model is this many times closer to the formalism of the problem domain. For every problem domain out there. There is no place for personal preferences, it's all formal.
- charlesism 11y ago> There is no place for personal preferences, it's all formal. Well, I admire your optimism, at any rate.
- lunchTime42 11y agoGoto 42
- lunchTime42 11y agoThe problem is, we program as we have evolved. Single Threaded, solving one Problem at a time, focusing on one aspect at a time, in series. If you want to have a paradigm that is really succesfull, it would involve using every aspect of the human mind. We are good at perceiving 3d space. We are good at instantly computing physics. We are good at perciving other human behaviour. We are good at recombining existing tools to create more sophisticated tools. If you want optimal results, without the struggle of reeducation, tailor the paradigm to the existing creature, not the inverse approach.