Comment

Comment by yarekt

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...

parent yarekt 11 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton