by kombai on 2/21/23, 10:24 PM with 6 comments
by coreyp_1 on 2/21/23, 11:17 PM
Essentially, programming is the communication of steps at a given level of abstraction.
You can give examples of how the command "open" is different, depending on whether you are dealing with a door, a book, or an app on their phone.
You can demonstrate giving commands at different levels of granularity (as different paradigms represent different world perspectives). For example, you can give them one-by-one instructions to open a door (stick out your arm, grab the handle, turn the handle, pull, etc.) vs. just saying "open the door".
The fine-grained controls can be applied to anything, but the operator may or may not know that the individual steps are all part of a single action. Likewise, "open the door" is a bundled-up set of commands, and are more concise, but it relies on the person knowing how to perform the action. "Open the combination lock" won't work unless the person already knows the combination. "Open the combination lock, and here is the combination" relies on the person knowing how to work the lock, but taking an argument. "Open the <insert something wild>" may not make sense, or may require specialized knowledge.
In other words, programming paradigms are simply different ways of bundling instructions.
by tacostakohashi on 2/22/23, 2:29 AM
Otherwise, it's like asking how to explain the difference between manual and automatic to non-drivers, or the difference between VFR and IFR to non-pilots, or the difference between assets and liabilities to non-accountants, etc. One doesn't have to be an expert on the topic to grasp it, but one can't remain completely ignorant either.
by monksy on 2/22/23, 8:06 PM
by MrLeap on 2/21/23, 10:46 PM
1. Decide what to do
2. Do what you decided to do
3. Go back to 1
by gardenhedge on 2/21/23, 11:52 PM
but seriously, you might get something interesting from chatgpt