Programming Paradigm
--- https://youtu.be/agTmccNAXlI
--- https://youtu.be/QM1iUe6IofM
programming paradigms can be represented as follows:
| Procedural | Object Oriented | |
|---|---|---|
| Imperative | procedural programming | object-oriented programming |
| Functional | functional programming |
where
- procedural code has no explicit association between data types and functions
- object-oriented code has explicit associations between data types and functions
- imperative code is impure and has no specific method of handling of shared state or side effects
- functional code is pure and does not have to deal with shared state or side effects