News for hackers. Stuff that matters.
Re:Show HN: C is for Camera, a 35mm film camera represented ... by brundolf on Friday March 05, 2021 @01:43PM (#26360312)
Real-world code very rarely models real-world physical objects like this. This project is novel specifically because of that fact. And as soon as you step outside of modeling physical objects, OOP's benefits start to fall apart and you find yourself contorting abstract ideas into "objects" by way of concepts like Services, Strategies, Providers, Controllers, Adapters, etc (a whole lot of -ers, for the most part, which really drives home the fact that many of these objects only exist to "do" something, not to represent something).

There are no comments on this comment yet.