5 ms·
Yet another article about problems you'd never have if you wouldn't use object oriented paradigm.
by menotyou 2y ago
Yet another article about problems you'd never have if you wouldn't use object oriented paradigm.
- goatlover 2y agoBut then you'd have other problems that come with using another paradigm, since there's no silver bullet, and no paradigm that handles all problems better than other paradigms. Probably popular languages tend to be multi-paradigm.
- bccdee 2y agoThat's not really true. Structured programming completely supplanted the paradigm that predated it. I think it's pretty close to a consensus now that null values are a mistake. Same with manual memory management.
- goatlover 2y agoProgramming paradigms meaning imperative, functional, logical, OOP, stack-based, array-based, that sort of thing. Widely used languages like C++, Javascript, Python allow for a mix of those approaches. If one programming paradigm was best, we'd expect languages like Haskell, Prolog or APL to be popular instead.
- bccdee 2y agoThe contemporary "multi-paradigm" style is influenced by the many paradigms which preceded it, but for all the elements it borrows, there are elements it leaves behind, too. Implementation inheritance is often left out of newer languages (see Rust, Go). I don't think it makes sense to view new langauges and styles as the sum of all preceding paradigms. It's an evolutionary process, rather than accretive. We keep the good bits and discard the rest.
- wvenable 2y agoI read the article and I'm not even clear what the problem is.