TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Explaining programming paradigms to non-programmers?

8 pointsby kombaiabout 2 years ago
Any advice on how to briefly explain the differents programming paradigms to non programmers ?

5 comments

coreyp_1about 2 years ago
I like to teach using analogies, but I don&#x27;t know if there is a single analogy to fit all of them. And age of the intended audience might be important to know.<p>Essentially, programming is the communication of steps at a given level of abstraction.<p>You can give examples of how the command &quot;open&quot; is different, depending on whether you are dealing with a door, a book, or an app on their phone.<p>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 &quot;open the door&quot;.<p>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, &quot;open the door&quot; is a bundled-up set of commands, and are more concise, but it relies on the person knowing how to perform the action. &quot;Open the combination lock&quot; won&#x27;t work unless the person already knows the combination. &quot;Open the combination lock, and here is the combination&quot; relies on the person knowing how to work the lock, but taking an argument. &quot;Open the &lt;insert something wild&gt;&quot; may not make sense, or may require specialized knowledge.<p>In other words, programming paradigms are simply different ways of bundling instructions.
tacostakohashiabout 2 years ago
The only way to understand different programming paradigms is to learn a little bit about programming. If they insist on remaining &quot;non programmers&quot;, i.e. determined not to know anything about programming, then there isn&#x27;t much hope.<p>Otherwise, it&#x27;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&#x27;t have to be an expert on the topic to grasp it, but one can&#x27;t remain completely ignorant either.
monksyabout 2 years ago
This still is more of a techincal talk, but going from imperitive to functional can be explained well by venkat: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=E8G2ByTQzuY">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=E8G2ByTQzuY</a>
MrLeapabout 2 years ago
What paradigms are we talking? Agile &#x2F; waterfall &#x2F; scrum etc are all different rituals&#x2F;bureaucracies wrapped around the following recipe<p>1. Decide what to do<p>2. Do what you decided to do<p>3. Go back to 1
评论 #34888984 未加载
gardenhedgeabout 2 years ago
letmechatgptthatforyou.com<p>but seriously, you might get something interesting from chatgpt