Wednesday, September 25, 2013

Programming paradigm

According to Wikipedia, a programming paradigm is a fundamental style of computer programming, a way of building the structure and elements of computer programs. There are four main paradigms: imperative, functional, object-oriented, and logic programming.

Each paradigm has its own concepts and way of thinking, and we can use it to classify programming language. For example, smalltalk is an object oriented language, or haskell is a pure functional programming language.

Which is the most powerful? It depends on the objective you're pursuing. But if you don't want to wear a straight jacket, a multi-paradigm programming language could be a reasonable choice. 

Let me show you some examples: Common lisp, scheme, erlang, c++, ...

For a longer list :