Alternatives to OOP in D
Peter C
peterc at gmail.com
Mon Nov 10 06:20:42 UTC 2025
On Sunday, 9 November 2025 at 21:49:50 UTC, monkyyy wrote:
> On Sunday, 9 November 2025 at 04:06:21 UTC, Peter C wrote:
>>
>> Please stop disparaging OOP and OOP programmers.
>
> No ones started (yet), Id be happy to provide an example of
> actual disparaging anti-oo examples
There's no shortage of disparaging anti-oo examples.
But that's is separate issue to the topic of this thread.
I expect there are disparging examples that could be made
available for pretty much any programming paradigm.
I am certain I can provide you an example of code from your
favoured data-oriented-design - which deliberately dismantles the
unified object concept, by requiring the programmer to shift the
focus from modeling the problem domain to optimizing memory
layout, thus sacrificying conceptual clarity and modeling
integrity, in order to organise code for the machine.
btw. This is precisely the reversion to a lower-level concern
that the founders of OOP sought to avoid.
But.. let's not go there.. ;-)
More information about the Digitalmars-d-learn
mailing list