Multi-paradigm programming language
From Wikipedia, the free encyclopedia
A multiparadigm programming language is a programming language that supports more than one programming paradigm. It allows, as described by Bjarne Stroustrup, "a program using more than one programming style". The design goal of such languages is to allow programmers to use the best tool for a job, admitting that no one paradigm solves all problems in the easiest or most efficient way.
An example is Oz, which has subsets that are a logic language (Oz descends from logic programming), a functional language, an object-oriented language, a dataflow concurrent language, and more. Oz was designed over a ten-year period to combine in a harmonious way concepts that are traditionally associated with different programming paradigms.
Contents |
Multiparadigm languages
Languages can be grouped by the number and types of paradigms supported.
Two paradigms
- dataflow, visual
- functional, imperative
- functional, logic
- functional, object-oriented (class-based)
- functional, visual
- imperative, object-oriented (class-based)
Three paradigms
- concurrent, dataflow, functional
- concurrent, functional, logic
- concurrent, imperative, object-oriented (class-based)
- dataflow, object-oriented (class-based), visual
- functional, imperative, logic
- functional, imperative, object-oriented (class-based)
- functional, imperative, object-oriented (prototype-based)
- JavaScript
- Lua
- Tcl (the snit extension)
- generic (template metaprogramming), imperative, object-oriented (class-based)
Four paradigms
- functional, generic (template metaprogramming), imperative, object-oriented (class-based)
- functional, imperative, actor, object-oriented (prototype-based)
- functional, imperative, concurrent, object-oriented (class-based)
- functional, imperative, logic, object-oriented (class-based)
- functional, imperative, object-oriented (prototype-based), dialected
- imperative, logic, object-oriented (class-based), rule-based
Five paradigms
- concurrent, distributed, generic, imperative, object-oriented (class-based)
Eight paradigms
- concurrent, constraint, dataflow, distributed, functional (evaluation: eager, lazy), imperative, logic, object-oriented (class-based)
See also
References
- Multiparadigm Design for C++, by Jim Coplien, 1998.
- Concepts, Techniques, and Models of Computer Programming, by Peter Van Roy and Seif Haridi, 2004.

