Saturday, February 21, 2009

Programming Paradigms

1. Imperative/Procedural/Algorithmic
- "Verb" oriented (i.e. imperative), decompose programs into subroutine, sub-subroutine and so on
- Tells the computer to run the program in a sequence of steps
- Language: C

2. Functional
- No side effect, all effects are returned as return-value
- Language: Lisp, Scheme

3. Logic/Predicative
- Language: Prolog

4. Object Oriented

5. Aspect Oriented
- Derived from OO
- (Aspect C++) http://www.aspectc.org/

6. Reflection Oriented
- Derived from OO
- (Reflection in C++) http://www.garret.ru/cppreflection/docs/reflect.html

No comments:

Post a Comment