Hi all,
My 8 year old is asking if he can learn how to program. He has asked specifically if I could set him up with a ‘programming kit with lessons’ for a Christmas present. I’d like to support this, and it seems like it’s not a transient interest as he’s been all over scratch, and using things like minecraft commands for the last year. I have an old (pre 2017) MacBook Air I can set up for this. How do I / what would you advise I set up for him, to a) keep him safe online (he’s 8!) and b) give him the tools he needs in a structured way.
I am not a programmer. I know enough bash/shell and basic unix stuff to be dangerous and I was a front end dev a very long time ago, but I wouldn’t call myself a programmer and don’t know what concepts he needs to learn first.
Hugely appreciate any advice, thanks.
Edit: So I posted this then had a busy family day and came back to so many comments! I will methodically go through these all, thanks so much.
A couple of things on resources: he has expressed interest in 3D worlds and I noticed comments on engines, but wonder if that’s too advanced?
Totally agree with the short feedback loop rather than projects that take days.
He has an iPad 6 and I’m happy to pop a Linux distro on the Air, so certainly open to that.
So many links to research. Hugely grateful.
Everyone else’s suggestions are great.
Get them a copy of Factorio, it’s a game, but it’s all about computer science fundamentals, architecture, pipelining, busing, data integrity, etc. It’s a visual game, but it’ll scratch the itch of programming. It’ll get them to think.
Buy the hardware projects, the little ones with either a pic, an Arduino, something that does something physical. A little bit of programming. To make a thing happen. So they can experiment.
Look at the software robot competitions, there’s a couple on steam, there’s couple elsewhere, you can do it as a family project, whiteboard out the logic of what your robot will do, and you can write it together. And see how it acts.
Just make sure anything you get, has a very small feedback loop, so they can iterate very quickly. That’ll keep them engaged and exploring. You don’t want to get a daunting project that’s going to take weeks to see any output. You want things on the order of minutes, or even seconds to see what happens
Ah, haven’t thought about factorio. On that matter 7 Billion Humans is a cool game that can teach the basic logic behind programming.
Seconding all of the above. Also tis 100 and exabots. All games by that developer actually.
I love Zachtronics, but I think their games are very ambitious for 8 years old. Maybe teenager with some discreet logic skills under the belt.
You are absolutely right, I overlooked the age.
“send me your favorite base” is probably a better programming interview than most
Get a breadboard. Get a bunch of wire for it. And do small projects with the breadboard in a controller. It’s fun to move the wires around. You can even build a tiny 8-bit computer with a breadboard. And have a do things like output of display. It’s very tactile and hands-on. Excellent visual. There’s excellent YouTube tutorials up there for breadboard projects.
https://www.youtube.com/channel/UCS0N5baNlQWJCUrhCEo8WlA
This guy has some excellent breadboard projects. Find an easy one. And do it together with your child
If you get them factorio then they’ll just play that all day instead of learning programming
deleted by creator
factorio is programming
Also, remember Human Resources Machine. Its a puzzle game thats actually a progamming language
deleted by creator
deleted by creator
Well, Scratch is certainly a good starting point so I would assume he wants more if he’s been all over it.
There are some toys and kits available but I am not really aware if they are any good.
If my little brother would make such a request I probably would want to go with Python and an Arduino project. Robots are cool so it would pique his curiosity while basics with Arduino should be challenging but manageable. The only drawback is that it probably would require some time investment on your side.
A cheaper alternative would be directing him towards writing some simple programs in Python or Java as the only setup this would require is an IDE and it would also teach him googling for information.
I think the safety online is the biggest problem here and the only thing I can think of is to only allow some domains…
Maybe some of these suggestions sound good to you, if so I’ll gladly expand on them.
Also big kudos to your approach on the matter.
I’m going to go a slightly different direction and suggest something that has physical feedback like Adafruit’s CircuitPlayground. It can be setup to use MakeCode, CircuitPython, or Arduino and there’s a lot of good resources, both for purchase, and free: https://www.adafruit.com/category/965
In terms of keeping him safe online look into some content filtering for the whole home network, either paid or self-hosted.
Projects that act upon physical stuff are the most rewarding. Something simple such as building a simple Python script that interacts with a smart home API and turns switches on/off or changes light colors around the house are relatively simple and require no hardware/mechanics if you’re not into robotics, soldering or circuit boards.
You’ve got a great kid :)
Make Code Arcade is a great next step if your child has completed the Scratch tutorials.
MakeCode allows building with
BlockCode
, but also supports toggling toPython
orJavaScript
.Scratch and Make Code Arcade are both free.
For the Christmas present, get them a [MeowBithttps://www.microcenter.com/product/668481/kittenbot-meowbit-card-sized-retro-game-computer-codable-console) - a $50.00 hand held game system that plays the games they write using MakeCode Arcade.
The full Harvard CS50 course is available on YouTube: https://youtu.be/8mAITcNt710?si=rTa1zOkY2REnlXDe
This is the course all programmers have to take before they get to take the real programming course. The purpose is to introduce programming concepts in a way that essentially anyone who is interested will be able to understand. The instructor is fantastic.
Not exactly geared towards 8yo but if you have the time and inclination, you could go through some of these videos to see how the topics are presented and then try to introduce those topics yourself to your child. Or at least look for resources that introduce them like the comment above talking about scratch.
Or better yet, maybe you both do these lectures together and learn the fundamentals of programming without getting bogged down in a specific language or with specific syntax. I’d bet that will become a core memory for any child.
I don’t want to undermine everyone’s suggestions but I think they are failing to understand this is a kid, buying him a laptop and stuff is okay but doesn’t motivate him to much.
Check for authors of books for kids. Invent with python is great, that was going to be my suggestion. But same author has plenty, like this one https://turtleappstore.com/book/ … to echo someone who mentioned Minecraft (indeed, already marked a whole generation into computer science subject!). Good luck! Maybe you can even find something for you, like, how do we teach CS/ programming to kids? How come that moving the Logo turtle was alright for so many years, lol
One suggestion I haven’t seen, get him a super-cheap laptop with Linux. The exposure to a new environment beyond his phone (and likely Chromebook) will help him get more comfortable with things outside the norm.
It will help him discover if he likes to “make things” or “figure things out” which are very different activities that both directly corrolate with programming.
+1 for Linux but use your MacBook Air. There are Educational Linux versions that would be a great environment for your kid to learn to code. It can also be set up with kid safeguards.
You can also run Linux from a Usb if you’d rather not install it over MacOS
I recently put Linux (Mint) on my old 2015 MacBook Air and it’s been really great.
@Alxrg @fmstrat oh, I’ve installed Ubuntu on Macbook but had many troubles with the keyboard.
Probably some of these problems are originated from the StumpWM – a tiling window manager written in #commonlisp
Not all problems are solved yet. For example, a key near the left shift should produce ` and ~, but it outputs < and > instead. I don’t know how to remap it.
For OP’s question (just to stay on topic before we veer off), would you still recommend a Linux distribution on their MacBook Air?
Edubuntu seemed like a good choice to reuse their existing hardware and have a safe environment. There’s lots more choices to choose from
I’m only casually using my Linux MacBook but haven’t had any troubles with the keyboard.
Although a nice tiling window manager sounds like fun. I’ll have to look into it.
You can’t do wrong with: https://nostarch.com/catalog/kids based on your kid’s interests and experience I would probably point towards any of the python proposals, but I encourage you to look through the catalog together and find one that sounds interesting.
I learned programming at about 12, by following tutorials for the Pygame python library. It doesn’t do anything especially fancy, but it taught me many concepts, while I had a lot of fun. My first project was making the traditional snake game, which I think is a good level of complexity.
Do you have a linux machine at home? My 12 year old daughter is also wanting to learn to program and I’ve been updating the NakedMUD codebase to work with Python 3. It has been working for a while now but I’m still tweaking some stuff within the codebase before turning her loose on it. When it’s ready I’ll probably throw the modified code up on a server somewhere.
If you’re not familiar with MUDs they’re online text-based game servers (Everquest was basically a graphical version of one, supposedly even using code stolen from the most popular at the time). NakedMUD has a core written in C but the game engine itself is extensible with Python (and Python changes can be initialized without rebooting the server) and the world/NPC handling code is also extensible with Python. Users can dabble around with making changes to the Python scripts and then see the results real time, and in a gaming environment. To me it seemed like the ideal way for my daughter to learn programming in a way that will likely keep her interest.
MUDding taught me programming and Regex in a very real and useful way.
It also contributed to a gaming addiction that took years to break, so food for thought I guess.
This was a while back, but my cousin learned to program using Codecademy. These were self-paced courses using web interfaces, which was nice because they didn’t have to install anything, they just used a web browser.
It looks like codecademy has a game development path: https://www.codecademy.com/catalog/subject/game-development
Their python chatbot course looks fun too: https://www.codecademy.com/learn/paths/build-chatbots-with-python
I often suggest MIT App Inventor. Most kids are more comfortable with phone apps.
But this requires an android phone.
Can’t one use an emulator?
If he likes working with physical objects as well (robotics) I can’t recommend the Lego mindstorms or education series enough. The standard interface is very similar to Scratch so he’d feel right at home, but they can generally also be programmed with more traditional programming languages if using building blocks becomes too restrictive.
Pi Hut have a makers advent calendar. It’s a Pico microcontroller and 24 projects. Maybe that’s more a leading up to Christmas thing? Not sure how much programming there is, it might be more electronics. https://thepihut.com/products/maker-advent-calendar-includes-raspberry-pi-pico-h