Commit 1f502771 authored by goekce's avatar goekce
Browse files

clarify

parent c691f287
Pipeline #13891 passed with stage
in 6 minutes and 47 seconds
......@@ -138,7 +138,7 @@ If functions in a programming language is treated like other entities, then this
---
- imperative: sequence of instructions
- imperative: step by step instructions, control flow is explicit, e.g., using `goto`
- procedural: imperative + functions
- object-oriented: everything is an object which can keep its own variables (i.e., state). So calling the same method may result in different outcomes
- declarative: "this is the result that I want, I do not care how you get it", e.g., SQL: `SELECT student FROM students WHERE name == 'Lo'`{.sql} or Python: `result = A & B`{.py}, where `A` and `B` are sets[^declarative_thinking].
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment