Earlier quoted context omitted.
Such precociousness is often[1] an indicator of abnormalities and handicapped general intelligence. For example, if our son independently began to read too early the initial reaction of my spouse, a Speech-Language Pathologist, would be to freak out rather than to be filled with pride. Perhaps you know this and used "gifted" in its more euphemistic sense. In any event, I mention this not to correct you but to address…
The comment above is condescending and misleading. Being precocious doesn't mean autism, and no professional SLP would "freak out" at an early reader. Being smart is an "abnormality", and autism is not "handicapped general intelligence". Warning signs for autism include obsession with letters and numbers without understanding meaning , not being able to reason about math and discuss mathematical topics.
Conversations with a six-year-old on functional programming
131–140 of 319 posts
Re: Conversations with a six-year-old on functional programming
#132How is this read: \lambda x.\, x - 3 and what is a simple example?
In a discrete math perhaps it is the same as "All x, x is an integer such that...."?
Re: Conversations with a six-year-old on functional programming
#133Earlier quoted context omitted.
This and this: >> I think he was just stuck on the idea of the function doing something arithmetical to the input, and was having trouble coming up with some sort of arithmetic procedure which would result in 6 no matter what you put in don't really seem, to me, like they can explain what's happening -- f(x) = 6 is trivially easy to express in terms of arithmetic operations being applied to x. If you assume that a fu…
> what's wrong with a function that multiplies by 0? Obviously the fact that it doesn't seem to have any visible effect on the input -- and people expect the input to be affected.
Re: Conversations with a six-year-old on functional programming
#134I'm taking a discrete math class right now. How is this read: \lambda x.\, x - 3 and what is a simple example? In a discrete math perhaps it is the same as "All x, x is an integer such that...."?
So '\lambda x., x-3' --> 'f(x): x-3'
Also, I really enjoyed my discrete math courses! The proofs were.. tedious.. but the amount and breadth of 'stuff' covered was excellent.
Re: Conversations with a six-year-old on functional programming
#135What is truly astounding about this is the patience to even attempt to explain free theorems to a 6 year old. Most parents would likely answer "math" and that would be the end of it. I don't (yet) have kids, but when I do I hope I have the wherewithal to recognize and take advantage of moments like these.
People don't give children enough credit for what they can really understand.
I remember distinctly teaching my oldest daughter how to do a basic cipher - like direct substitution and she got it immediately. I also taught my son how to do pin bumping and pin counting/picking on locks with my lockpick set. I even bought him a transparent set of master locks to practice on and he would sit for an hour at the age of 4 picking those locks. The obvious downside now is that he knows how to get into everything!
Very cool to watch what are basic principals being applied at the very basic level.
Re: Conversations with a six-year-old on functional programming
#136I'm taking a discrete math class right now. How is this read: \lambda x.\, x - 3 and what is a simple example? In a discrete math perhaps it is the same as "All x, x is an integer such that...."?
The '\lambda x' is just another way of saying "f(x)" So '\lambda x., x-3' --> 'f(x): x-3' Also, I really enjoyed my discrete math courses! The proofs were.. tedious.. but the amount and breadth of 'stuff' covered was excellent.
Re: Conversations with a six-year-old on functional programming
#137What is truly astounding about this is the patience to even attempt to explain free theorems to a 6 year old. Most parents would likely answer "math" and that would be the end of it. I don't (yet) have kids, but when I do I hope I have the wherewithal to recognize and take advantage of moments like these.
It's an immense amount of effort to do it consistently. And it gets harder with each kid, at least for me. One of the things you figure out is that some kids aren't interested. And if your kid isn't interested in thinking about prime numbers, you're going to be hard pressed to change that. Conversely they will have interests that you don't share, and it's going to be harder for you to participate meaningfully in that…
I ask him to tell me about what he is learning, and he patiently tries to explain it to me, but I just nod along because I have no idea what he's talking about.
Re: Conversations with a six-year-old on functional programming
#138I had a somewhat similar encounter with a 4 year old (!), who blew me away with his ability to solve arithmetic puzzles: http://heinrichhartmann.com/blog/2016/06/12/Box-Counting-Ari... It's a great joy to work with such gifted young minds.
Such precociousness is often[1] an indicator of abnormalities and handicapped general intelligence. For example, if our son independently began to read too early the initial reaction of my spouse, a Speech-Language Pathologist, would be to freak out rather than to be filled with pride. Perhaps you know this and used "gifted" in its more euphemistic sense. In any event, I mention this not to correct you but to address…
Re: Conversations with a six-year-old on functional programming
#139Brent definitely understands it well enough.
Re: Conversations with a six-year-old on functional programming
#140Functions? Algebra? How is comprehending any of that, possible without the sort of abstract/counterfactual thinking that develops around age 12?