Programmation paradigms

  • "A way of programming"
  • Common paradigms:
    • Declarative: the program describes its desired results without explicitly listing commands or steps.
    • Imperative: the control flow is an explicit sequence of commands.
    • Functional: the computation proceeds by function calls, no global state
    • Object-oriented: everything is an object, functions are methods and are executed with the object's context
    • Event-driven: the control flow is triggered and determined by async actions