Live data from Hacker News

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

news.ycombinator.com

151–160 of 240 posts

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

#151
Okay, I was about to go to bed, but read this on my phone and thought I really should reply. My son is 13. We started Scratch when he was 5.

It was very slow at first, and the key was helping him do what he wanted to quickly without having to mess around too much. He just needed a short feedback loop. His attention span was pretty small, but he was really into it. Scratch Junior on the iPad was a good way to start before moving to the computer with the mouse and keyboard. If he wanted to do something and I didn't know how right away, I'd figure it out later and then next time we sat down I could show him the easy way to do it.

After a while he started learning more and more and eventually played with every block to see how it worked. I also showed him how to look at other projects in the community. When he got farther along, this really helped him. He could see how others built platformer engines and other things, and then adapt them to his own projects.

I had the same idea as you with making a plan, writing it down on paper, and then going to the computer. This really didn't work. He just needed time to play and explore with the tools and get better and better with them until they became natural. Now, for more complicated things, he will write down notes on paper, but he still just goes at it on the computer for a lot of problems.

Finding the next step after Scratch was a challenge. We did some JavaScript together. He would understand it if we walked through it side by side. He could modify some of the code, but it's really asking a lot to get up and running with HTML, CSS, and JS along with a console, and editor, and browser to debug. It's too many moving parts.

So I worked on finding an all-in-one IDE tool for him. We tried Unity which was too complicated. PICO-8 which was close to being a fit, but a tough transition from block programming to typing out code. We tried Fuze4 on the Switch with a keyboard, but never went past the basics. Ultimately, we found GameMaker Studio from YoYo Games to be a great next step. It did take some effort, but they have block programming and some similar concepts to Scratch. It is more advanced and somewhere between Scratch and Unity, but it has stuck well. He is experimenting and building more and more complicated games. He is constantly asking for game ideas and wanting to share how he programmed one thing or another. I'll give him ideas by mixing together concepts from different games. Sometimes he'll just have fun re-implementing a game he saw a YouTuber play. Right now, he's building his own Snakebird. Listening to how he solved things really keeps him excited about it.

A couple months ago he really impressed me. He wanted to make Minecraft mods so he searched for some tools, ended up finding MCreator (https://mcreator.net/), downloaded it, and got it running all on his own. I've looked into it a little since, and this is a really great next step if your kid wants to build Minecraft mods. It's like Scratch for Minecraft mods. Block programming etc. It's open source and looking for contributors. Check it out.

He'll also get into anything that has a level editor. He loved the editor for the iPad game Badland. He is really into Mario Maker 2 now. Now that I think about it, the Badland editor probably helped quite a bit in the transition from Scratch to GameMaker.

Another tip is make sure to set some time aside for creating. We used to do screen time and off-screen time, but my kids started to just watch their favorite YouTubers or play the same games (Minecraft and Terraria). So now we have screen time, creative time, and off-screen time. During creative time they can be on the computer or iPad, but only using a subset of programs that I've deemed "creative". For my 13yo, that's Gamemaker or MCreator. For my 7yo, that's using redstone in Minecraft or other educational type content. He has some music making apps he enjoys.

My 7yo and 13yo are a quite a bit different with this. My older son got into all of it very early and really enjoyed it. The 7yo doesn't have the same interest - and that's okay. I'm not going to force it, but I will nudge every now and then to make sure we've at least tried different things.

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

#152

I'm in exactly the same boat, and doing very similar to you. My son is 11 and daughter 8. Both do Code.org and/or Scratch fairly regularly. Son wants to get into modding Minecraft, but honestly I'm a little annoyed with how shady and complicated that process is. Or maybe I'm just too old to "get it". I don't discourage him from it, but haven't been able to teach him that as much. Son also recently bought with his own…

We've found MCreator to be a great way to get into modding Minecraft. It has block programming like Scratch. https://mcreator.net/

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

#153
7: minecraft taught basic logic with red stone. 8: tinkered with available tools to hack eg. lego games. 9: godot programming via youtube video series. 10: ??? will see.

If a kid is bored, they'll think anything is fun. Key is to have a video game schedule; before that, "technology" is off limits. But the loophole is to allow access to certain apps (blender, godot, krita, puzzles, etc) before tech schedule if it doesn't conflict with daily responsibilities such as homework. None of these were forced but encouraged indirectly. Again, if a kid doesn't get hook on instant gratification with passive consumption of entertainment, the change is big your child will turn to exploration when bored...programming might be the natural direction given light encouragement.

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

#154
This holiday season I rebooted https://game.stackybird.com (try on desktop). It's a project I started years ago when my son was born to teach him the programming mindset. He's now 7 and it seems to be the right age. It teaches kids programming basics in a fun and gradual way. Right now there are only 6 levels, but I plan to have hundreds. Levels unlock instructions and with new instructions you can solve new levels, or old levels in a better way.

I'm not good at design so I picked the bird from flappy bird and the colors from 2048. I will probably need to change that. Also I started the project in 2014 and bought the domain in 2018, but now there's a trademarked app with the same name in the app store. Will probably need to change the name too.

Too bad this thread pops up now, next week the app would be more impressive ;)

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

#155
TL;DR for my family:

- Scratch (https://scratch.mit.edu)

- Swift Playgrounds for iPad

- Mario Maker (Nintendo Switch version)

I haven't given my boys any pressure to code yet (they are only 8, 6, and 3) but the oldest one has a natural interest, it seems, and that seems to be making the middle one interested too.

The oldest got his start with a local after-school class where they make robots out of lego-like blocks with motors and program simple behaviors like driving around, drawing pictures. Then his brother also wanted to. The older one has now graduated to writing 2D platformer games with Scratch at that class — one day I noticed they were just logging into the regular free Scratch, and he knew his login and password, so he now logs in from home after school to work on it sometimes.

That class is still like "drag blocks around to make loops and conditionals" but he later found the Swift Playgrounds app on iPad and worked through those exercises. That is a lot more textual, and you learn basic constructs like variables, for loops, if/else, and functions.

And he learned somehow very quick that there is a high success rate of postponing bedtime by saying, "OK, but wait, just let me debug this bug in my program a bit more." ;-)

His 6-year-old brother seems to be following in his footsteps, not interested in Swift Playgrounds yet (if ever) but keenly interested in replicating and then improving on his older brother's Mario Maker levels, and he is interested in the games his older brother is making at the class (where he himself is still doing the robot making course) and he intends to do that same course next year.

The 3-year-old's programming is still limited to standing in front of the TV and shouting "HEY SIRI TV OFFFFFF!!!!!"

I'm a life-long software engineer and intend to keep doing that, so it is gratifying to see them doing this. As some other people have said in this thread, as a parent you can't (or shouldn't) try to "make them become software engineers" but at the same time, demanding basic competence in programming (e.g. being able to write a program to do some kind of calculations on a CVS credit card statement, and debug that in a graphical debugger) seems to me akin to, say, making sure your kids learn how to swim.

My kids understand (well, the older two at least, the little one maybe later) that they will be expected to be able to swim competently, read rudimentary sheet music and be able to reproduce it on a piano keyboard, ride a bicycle, safely operate an automobile, and write software programs at a competent level for their age.

They don't need to be spectacular at any of those, or pursue a career relating to them; they don't even need to be interested. But I think those are basic human competencies, and it is fine to require your kids to achieve them.

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

#156
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…

Deserves Kevin Mitnick's medal. We likely should think hard about creating good opportunities to rebellious learning of computers at schools.

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

#157

My daughter has been "coding" since she was three and my son since he was two. They began with the code and go robot mouse, where you push arrows in the direction and order you want the mouse to go totally ignoring the course and just trying to get the mouse to the cheese on the floor. Next I bought Cubetto, which comes with a board with pieces that give instructions and you place on the board. Mostly one kid sits on…

The entire website for Cubetto is out of stock. Guess we'll have to stick with the Osmo for now...thanks for sharing your experiences.

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

#158
post #138
post #37

Earlier quoted context omitted.

As a counterpoint, I started programming on my own at 7 with no guidance. Mainly because my IBM PC booted into a BASIC window if you didn't put the DOS disk in. I asked my mom to get my some magazines from the library so I could copy the games in them. So it's not totally odd for a 7 year old (or I was odd, which is quite possible).

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.

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

#159
post #27

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…

I bought this for my 4yo: https://www.youtube.com/watch?v=XlnP-8SczF0 Sorry the vid is in Polish but I think you can get the idea. It is a talking robot that does "missions" where you have to program it to go forward, backward or turn, take objects from the map, etc.

You reminded me of a robot I had as a kid in the early eighties. It had some rubber keys on the top (similar texture to the rubber buttons on a Sinclair Spectrum, but smaller). You could program it with a sequence of moves (IIRC forward, turn right, turn left, pause).

The robot you linked looks great, with the addition of the missions. But I'm not sure whether it's available in the US, so I ordered this one instead: https://www.amazon.com/Fisher-Price-Code-n-Learn-Kinderbot/d...

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

#160
Give your kid a 3 year old Android phone. I’m 18, and my interest in programming started with rooting and custom ROMs. I learned a ton about shell scripting, file systems, and operating systems just from trying to get my lemon Android device to run a little faster. The best part was that since my motivation was fixing my phone, I didn’t need my dad to push me.

Sometimes putting someone in a situation where they have to solve a complicated problem is the best way to get them to learn.

Post reply on HN