Hacker News new | ask | show | jobs
by goatlover 699 days ago
But 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.
1 comments

That'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.
Programming 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.

The 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.