|
|
|
|
|
by yarekt
206 days 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... |
|