27 ms·
In my opinion one of the weaknesses of OOP is just how hard it is to actually model those real world relationships in any concrete form. It's choosing to profes
by giraffe_lady 5y ago
In my opinion one of the weaknesses of OOP is just how hard it is to actually model those real world relationships in any concrete form. It's choosing to professionally have a fight with "the map is not the terrain."
Some people are really good it but it's a skill for sure and learning it is rough. It is some really abstract thinking shit, and difficult even to evaluate how well it has been done until much time has passed with it.
I think when people joke about naming in programming this is what they mean. Needing to clearly define relations that are not necessarily clear yet. OOP does demand a lot of that so is hard and exhausting in a particular way.
That said nothing against OOP I use it every day and Sandi Metz is the code book writer I learned the most useful stuff from. Just it's hard in a different way from most of the rest of coding.
- drpixie 5y agoAbsolutely. I'm continually amazed as how much and how hard people have tried to push everything into their OO framework. Android development is the classic example - it's ALL OO - and most of the time, that's pushing the proverbial uphill. Instead of just initialise something, everything is pushed into constructors. The model works sometimes, but for many things it just adds work. AND ADDS ENORMOUS AMOUNTS OF BOILERPLATE. Aarrgghhh.