Multi-paradigm languages
Programming paradigms are not mutually exclusive classifications. Within the notion of programming paradigms, there are hierarchies and overlaps. Some classifications such as declarative programming might describe a broad set of characteristics and languages while others such as dynamic programming are quite specific.
Some programming languages, such as Haskell, are designed specifically to conform to a single paradigm (in Haskell's case, functional programming). However, because the definitions and boundaries of the paradigms themselves overlap, it's possible to classify a programming language using multiple programming paradigms concurrently.
Let's take Java, for example. Within Java, there are elements of multiple ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access