3 ms·
Object oriented programming doesn't really fit every problem. It really seems more strange that it took so long for us to see some alternatives. I mean, it too
by theonemind 7y ago
Object oriented programming doesn't really fit every problem. It really seems more strange that it took so long for us to see some alternatives.
I mean, it took over programming like a revolution, like structured programming, but structured->OO doesn't have anything nearly like the benefits of unstructured->structured. It seems like a good paradigm for a couple of problem domains, but IMHO, it got cargo-culted on to everything about mainstream programming without delivering much on the promises it got sold with in regard to increased productivity and code re-use.
- Gibbon1 7y agoOne thing I think is OOP works pretty well for GUI type programs. But has little advantage when building networked service infrastructure. So during the desktop era OOP was ascendant. Now we're in a distributed data processing/storage/retrieval/service era. In particular data is ephemeral and not 'owned' by a particular service. So it doesn't make sense to start attaching local methods to it.
- pezo1919 7y agoOOP for GUI is getting old fashioned I think. I am thinking about the class-based imperative frameworks in Java/C#. Just look at the functional components and hooks in react. They have just abandoned the class based syntax.