Programming Language Paradigms

2020-07-23 |

Imperative

  • Programs runs sequentially.
  • Step-by-step instructions

Examples: Fortran, C

Functional

  • Symbolic calculations

Examples: LISP, Haskell

Object Oriented

  • Objects

Examples: Simula, Java, C#

Logic

  • Prolog

Parallel

History of Programming Languages

Evaluation criteria

There are three main criteria for evaluate a programming language. These are readability - writability, reliability, and cost.

Readability - Writability

  • Basic constructs increase = readability decrease
  • Feature multiplicity increase = readability decrease (multiple ways of doing the same thing)
  • Operator overloading = readability increase
  • Orthogonality = Orthogonality in a programming language refers to the property that language features can be combined freely
  • Data types = readability increase

Reliabilty

  • Type checking
  • Exception handling

Cost

  • Training: is it hard to teach language
  • Development: is it hard to develop this language
  • Cost of executing programs: Run time

This was the end of the blog post. You can reach me via email umusasadik at gmail com