3 ms·
> SOLID makes it easier to modify programs (in predetermined directions) without understanding the whole. In my experience, in predetermined directions is almo
by BossingAround 6y ago
> SOLID makes it easier to modify programs (in predetermined directions) without understanding the whole.
In my experience, in predetermined directions is almost never the direction the piece of code needs to evolve. Maybe I'm bad at reasoning about the future changes, but I'd guess that most people are utterly bad about this.
This makes OCP more like an ideal to be aspired to, and beaten with when one inevitably fails.
- nendroid 6y agoIf you look at it objectively. There's a very clear reason why OOP inevitably fails. Maybe a better way to put it is that SOLID is an ideal that OOP aspires to be but fails. Either way SOLID is a bad set of axiomatic design principles. It's sort of an arbitrary group of rule of thumb principles picked to spell out SOLID.
- deleted 6y ago[deleted]