4 ms·
Not only that. But just the concept of programming is not something most people even grasp what it is. I stumbled upon a nice way to show people what programm
by sumtechguy 6y ago
Not only that. But just the concept of programming is not something most people even grasp what it is.
I stumbled upon a nice way to show people what programming is the other day. However, it requires the person who asked the question to be engaged. If they only see programming as a trade of wizardry and a way to make money they may tune you out.
But my latest analogy for people who as 'what is programming' is to put a rock on a table and say 'teach this rock to go to the store write down every single step including getting off the table and opening the door'. They may get a bit angry and I will tell them a computer is no smarter than a rock and it will do exactly what you tell it. You need to be very explicit in what you tell it. If something goes wrong like you end up in the bathroom instead, something is wrong in the instructions and you have to fix it the rock cant. Now I am sure this analogy will fail on someone at some point. But it has worked on a few people I tested it on. My job is to pretend to be very stupid and then ask 'what sort of instructions do I need'.
That is just the simple style of programming. Add in callbacks, async, events, injection models, and SQL in there and people nope out.
- toyg 6y agoAs my dad says, computers are extremely-fast idiots.
- d0mine 6y agoIt reminds me how Feynman described a computer as a superfast filing system https://youtu.be/EKWGGDXe5MA https://youtu.be/EKWGGDXe5MA Though programming is less about precise detailed instructions, it is more about glueing together mostly existing components in a manner understood by your team.
- opan 6y agoI had an Elementary school teacher that gave us a similar exercise to the rock thing. She said something like "imagine I'm an alien, and tell me how to make a peanut butter and jelly sandwich". I got so caught up in sharing my special technique I had at the time (extra glob of PB in the middle after covering both sides) that I just got a bit deflated when she stopped me to ask what I meant by what seemed like a basic step. (It was something like "okay, I have the bread", and I hadn't asked her to pick up the knife before applying the peanut butter) Oddly I don't remember the point of the exercise at all, or if we did anything building on it. We certainly didn't do any programming.