Earlier quoted context omitted.
And, kids are fascinating conversationalists
My wife recently put up a small message board in our kitchen, where you can press letters into fabric to say what you want. My daughter (5 years old), suggested, "Candy inside your heart." I find the sentiment very sweet. We have not broached free monads yet.
Conversations with a six-year-old on functional programming
251–260 of 319 posts
Re: Conversations with a six-year-old on functional programming
#252Earlier quoted context omitted.
Related, "Math from Three to Seven" by Alexander Zvonkin[1] is an excellent book on discussing math with young kids. [1] https://bookstore.ams.org/mcl-5/
https://www.amazon.com/My-Little-Big-Math-Book/dp/9198282603 I have not read this, but it's from the same person who helped create "anchor modeling" and I find that quite interesting.
Re: Conversations with a six-year-old on functional programming
#253Earlier quoted context omitted.
And, kids are fascinating conversationalists
My wife recently put up a small message board in our kitchen, where you can press letters into fabric to say what you want. My daughter (5 years old), suggested, "Candy inside your heart." I find the sentiment very sweet. We have not broached free monads yet.
Maybe we need to look at our priorities.
Re: Conversations with a six-year-old on functional programming
#254Earlier quoted context omitted.
I'm curious what you mean. Is the problem that it is a constant function, or that you are asking them to ignore parameters? Or is that missing the point, still?
I think the problem is that our intuition is more or less based on a mechanical world in which the concept of a side-effect free or ineffective input is foreign.
Re: Conversations with a six-year-old on functional programming
#255Re: Conversations with a six-year-old on functional programming
#256When my son was around five or six, I did a similar exercise to explain the difference between prime and composite numbers. I told him that a number X is composite if you can fit X apples into buckets and end up with the same number of apples in each bucket. I drew 6 apples and asked whether they could be divided into buckets with an equal number of apples in each. It was immediately obvious that they could. My son c…
And "1xN doesn't count" can be expressed nicely as "it can't just be a line", or "the line must be folded up into a shorter rectangle [because more compact shapes are nicer]"
Re: Conversations with a six-year-old on functional programming
#257Earlier quoted context omitted.
I disagree with your example being a bad and reason is right there in your comment: the word "protocol". From wikipedia we find that a "communication protocol is a system of rules that allow _two or more entities_ of a communications system to transmit information...", where I have underscored the essential phrase and cryptographic protocols are just a subset of communication protocols. The reason that Alice and Bob…
(A)lice and (B)ob set up a channel. (E)ve is an evesdropper. When the only thing you change is to personify A, B, and E in your narrative description of a logical protocol, you are not making an analogy or an abstraction. Sequence diagrams, BAN logic, UML, pseudo code and other protocol notations are not teaching analogies, they are specifications. Some more useful than others. Teaching analogies and abstractions are…
They are illustrative examples that help with visualization and connecting the theory to an interesting use-case, which taps into most humans' natural preference visualization, socialization, and relevance. They aren't patronizing, they are humanizing.
Do you also feel that speaking in English is a "patronizing" way to communicate, since everything you say could be expressed in mathematical symbols?
Re: Conversations with a six-year-old on functional programming
#258Earlier quoted context omitted.
I disagree with your example being a bad and reason is right there in your comment: the word "protocol". From wikipedia we find that a "communication protocol is a system of rules that allow _two or more entities_ of a communications system to transmit information...", where I have underscored the essential phrase and cryptographic protocols are just a subset of communication protocols. The reason that Alice and Bob…
What about a definition of protocol that allows sending messages to yourself for recursion.
Re: Conversations with a six-year-old on functional programming
#259> “A function is like a machine where you put something in one end and something comes out the other end. For example, maybe you put a number in, and the number that is one bigger comes out. So if you put in three, four comes out, or if you put in six, seven comes out.” Examples are such a useful tool to explain complex subjects and make them approachable.
This is my biggest complaint with manpages, historically. Many of them don't have examples and only describe the command switches in a list.
https://www.google.com/search?q=%22The+full+documentation+fo...
Re: Conversations with a six-year-old on functional programming
#260I remember exercise sheets at school (in the UK) like this - I think called 'number machines'. I _hated_ it; felt patronised by the illustrations of these machines, so I rebelled by trying to come up with a different correct solution - aware that there were infinitely many answers given just a few example domain/range pairs. But if anyone's interested in them for a car journey or some time you can't play this game al…