top | item 45959892

(no title)

yarekt | 3 months ago

No-one uses that original OOP at all, no-one sane anyway. The way its used now is for dependency injection. All your logic is in services that are injectable and unit tested. All your data is in simple immutable DTOs.

All the OOP tricks, classes, instances, interfaces, polymorphism, its all good for wiring up your logic, replacing bits at runtime. No-one actually models their domain with pure OOP. Urgh, that would be awful.

But also to echo other commenters, this isn't interesting insight...

discuss

order

No comments yet.