Live data from Hacker News

Ask HN: Please share your experience teaching your kids to program

news.ycombinator.com

161–170 of 240 posts

Re: Ask HN: Please share your experience teaching your kids to program

#161

My daughter (who just turned 4) seemed like she might like programming, so I started out having her "program" a stuffed walrus, by telling it whether to go forward, backward, left, or right to get to a piece of food. Her natural inclination was to point to where it should go, so I first taught her that the walrus doesn't understand pointing or the word "here", just the directions. Then we started "programming each ot…

Somewhat related: At one point I introduced my kids to what I called the number-machine-game. It goes like this: I ask my kids to say a number, and then I do something to that number and tell them the answer. Their job is to figure out the calculation I do. Examples: - I add a number: they say 3, I say 8. They say 11, I say 16 - I multiply a number. - I multiply by something and add something else. - etc If you want…

I remember one day in primary school a teacher had us play a game where we had to propose things to take on vacation. People would call out a suggestion, and the teacher would say yes or no.

The aim of the game was to figure out the rule. She said no to 'novel' and 'money', but yes to 'book' and 'currency'.

Re: Ask HN: Please share your experience teaching your kids to program

#162

My daughter (who just turned 4) seemed like she might like programming, so I started out having her "program" a stuffed walrus, by telling it whether to go forward, backward, left, or right to get to a piece of food. Her natural inclination was to point to where it should go, so I first taught her that the walrus doesn't understand pointing or the word "here", just the directions. Then we started "programming each ot…

For my daughter (she's now 7), I followed this sequence: - Exact instructions challenge (from YouTube) - LightBot app on Android - Scratch with Harvey Mudd College's course on edX Snap! has some nice features but the community aspects of Scratch are so much better that she's happy building games there. Same as you, our goal was not to "learn programming", but just to have fun making things move with your ideas. Just…

Is this the YouTube video you mention above? https://www.youtube.com/watch?v=cDA3_5982h8

Re: Ask HN: Please share your experience teaching your kids to program

#163
post #138

Earlier quoted context omitted.

Can you expand some on copying games from magazines?

During the previous century of human civilization, computer games were primitive enough that their entire codebase would fit into a few pages of a magazine. You could play the game by manually retyping the codebase into a text editor.

This is how I learnt loads of great magazines in the 80's in the UK with code in, you spent hours typing it in. It didn't work and you fixed it (that's how I learnt to debug!). The next week the corrections were usually published, good times.

Re: Ask HN: Please share your experience teaching your kids to program

#165
I have explained to my daughters programming is basically a tool-belt that helps one build something they want.. like how paint brushes are simply tools to help create a painting.

For example, I was showing my 7 year old daughter the other night how she could automate her Roblox character with a simple AppleScript in order to move it every so often so that it could gain points while avoiding timeout from being idle, all while she could go and do other things around home. She smiled pretty big.

In short, IME showing how programming helps achieve an outcome has worked best. A general interest may compliment.

Re: Ask HN: Please share your experience teaching your kids to program

#166

Your kid is 7. I'm pretty sure hat I was eating dirt when I was 7. If he has showed you he's interested in programming then go ahead, but make sure you're not projecting your own interests onto your kid. It'll lead to resentment in 7 or 8 years.

I agree completely. I don’t understand the recent trend to believe that we need to get kids into software engineering as soon as they pop out of the birth canal. My friend is an accountant. If he asked me for advice on how to make spreadsheets more fun for his kid I’d think he had something against his kid. In the words of Pink Floyd “Hey! Nerds! Leave them kids alone!”

We do it with maths and languages. Why not programming? It is just another tool exactly like math and language.

Re: Ask HN: Please share your experience teaching your kids to program

#167
maybe this is just an outlier experience, but I deny that teaching (like telling somebody how to do something) is a successful approach at all. a widely underestimated ressource is that the learner wants to learn it. so, the best you can do is to show your owh profit from programming. then wait for questions.

and I mean wait. I have seen intelligent parents push their kids and really getting them annoyed and thus unwilling to learn stuff.

very good for questions you can not answer yourself is https://zen.coderdojo.com/find here, kids can (but don't have to) work on their own projects, ask highly qualified experts and -- even more importantly -- watch other kids working on their projects. plus: I have seen 6 year old kids presenting their project to 150 people at the coderdojo without even realizing what skill they acquired.

it boils down to 3 aspects: Mastery, Autonomy and Purpose

from my "teaching experience" with adults, giving the responsability to the learner is the important part. I hold seminars starting with an empty document. then I ask people to ask questions, otherwise the seminar would be over within the next 10 minutes. people instantly wake up and start to take responsability.

Re: Ask HN: Please share your experience teaching your kids to program

#168
I am teaching my thirteen-year-old nephew programming. We use Python to nail the basics of variables, conditions, loops, branching, functions, classes, etc. And Unity and C# to make games and learn some physics, vector math and matrices.

The length of our sessions is two hours. The beginning of a session always starts with a recap of the previous. Asking some questions to make sure he has the correct understanding.

He always types in everything. I never touch the keyboard/mouse.

Re: Ask HN: Please share your experience teaching your kids to program

#169
post #120

Didn't work: - BASIC, Ruby, Python, Java setups + intros, tutorials. - LEGO Mindstorms - Scratch, Squeak - Coding classes / camps Note that I "made these things "available" but never pushed. I'd set up the environment, show him to to edit and run the code, and pointed him to tutorials. After some time went by I'd show him the next thing. Rinse and repeat. Worked: A Texas Instruments programmable calculator. He read t…

I don't know the full story but this kinda lines up with what I wanted to say about the topic. My GFs kid was not at all interested in what I did, until it could relate to her friends at school. Apparently some of the boys at school had used Devtools to modify a class website and add dirty words or whatever it is they do. So I showed her at home how to go into Devtools and change the appearance of the teaching portal…

> until it could relate to her friends at school.

Perhaps that's the key for making something stick, beyond "immediate practical applications".

I learned programming as a kid because I played videogames, and started dreaming about making my own. But at the same time, I also had people I could talk to about it! At age 10, my cousin and I were constantly discussing how to make StarCraft and Fallout better. At age 13, when I first picked a C++ book (after prior failed attempts of other people to expose me to Basic, Pascal and VB) with intent to learn gamedev, I had a friend at school who decided to learn C++ as well. Over the year, we've managed to drag a third person into learning to code, and another one as a spectator to what turned into years of trying to one-up each other in doing shit in OpenGL.

And then I got on-line and discovered a local gamedev community, where again, I could participate in mutual showing-off.

Point being, as I re-evaluate my early years of coding, I notice I always had someone to talk to who could relate, or at least be impressed (real!impressed, not fake "I don't understand or care about any of this but go you!" parent!impressed). Looking at all these stories here about programming to automate homework - which presumably also impressed classmates - I'm starting to wonder if this isn't a necessary condition for a kid to get into programming.

Re: Ask HN: Please share your experience teaching your kids to program

#170
post #163

Earlier quoted context omitted.

During the previous century of human civilization, computer games were primitive enough that their entire codebase would fit into a few pages of a magazine. You could play the game by manually retyping the codebase into a text editor.

This is how I learnt loads of great magazines in the 80's in the UK with code in, you spent hours typing it in. It didn't work and you fixed it (that's how I learnt to debug!). The next week the corrections were usually published, good times.

This was later, but I learned a lot from Game Developer magazine. The entire archive is available for free.

https://www.gdcvault.com/gdmag

Post reply on HN