Hacker News new | ask | show | jobs
by goatlover 698 days ago
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.

1 comments

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.