Conversations with a six-year-old on functional programming (2018)
byorgey.wordpress.com
Conversations with a six-year-old on functional programming (2018)
1–10 of 161 posts
Re: Conversations with a six-year-old on functional programming (2018)
#2Your child might be gifted.
Re: Conversations with a six-year-old on functional programming (2018)
#3Another game I play with my kids to introduce the concept of functions which aren't just for numbers is a haircut function. You start by deciding on what the function does (curls hair, cuts it short, makes it longer), write that in the middle of the page, then you draw some input people on the left of the page, and on the right hand side draw the output for each input. Bonus points for running the function twice to see what happens to that person. This is a popular game with my kids and gets them involved as they can draw their own.
Re: Conversations with a six-year-old on functional programming (2018)
#4My seven year old would glaze over somewhere in the first sentence and switch topics to Pokemon. Your child might be gifted.
Re: Conversations with a six-year-old on functional programming (2018)
#5Re: Conversations with a six-year-old on functional programming (2018)
#6ps. Maybe add [2018] to the title?
Re: Conversations with a six-year-old on functional programming (2018)
#7To be fair, this is a bit beyond most who had no contact with functional programming and category theory.
Re: Conversations with a six-year-old on functional programming (2018)
#8We inadvertently taught our 2yo something which I think relates to programming. We play an animal-pairs-matching card game, with the twist that if you draw a shark card you can then steal a card off another player (while pretending to be a shark, obviously). Inadvertently my wife and I had taught different rules: I taught that pairs already matched up were safe from the sharks, while she taught that they weren't. So now every game has to start with 2yo deciding what the rules are, which often leads to discussion of consequences for each rule.
Re: Conversations with a six-year-old on functional programming (2018)
#9Re: Conversations with a six-year-old on functional programming (2018)
#10Maybe we should let kids be kids and do kids stuff instead?