TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How to teach my children programming

6 pointsby GBiTabout 2 years ago
I have 6, 8, 9 years old children. Can you please share your experience of how you teach your kids programming? What services or software do you use?

4 comments

fl0psabout 2 years ago
Let them play NES, classic games like Super Mario World. Then show them the same games on the emulator FCEUX, specifically the hex editor (for glitching the game by plonking numbers at random addresses) and then the lua scripts that give them super powers by purposefully putting values where they do specific jobs.<p>Same with Minecraft: Use a Pi, search for Minecraft Pi Reborn (just so it&#x27;s not a crap experience like the original abandonware Pi Minecraft has become). Then show them <a href="https:&#x2F;&#x2F;projects.raspberrypi.org&#x2F;en&#x2F;projects&#x2F;getting-started-with-minecraft-pi" rel="nofollow">https:&#x2F;&#x2F;projects.raspberrypi.org&#x2F;en&#x2F;projects&#x2F;getting-started...</a> or any of the other pi+python+minecraft projects. Use Python to check the Minecraft players location and upon sensing it&#x27;s at a specific location on a particular map, move the player somewhere else. They&#x27;ve just created a Teleportal (randomize the destination for added mischief).<p>Then for bonus points use this: <a href="https:&#x2F;&#x2F;learn.sparkfun.com&#x2F;tutorials&#x2F;python-programming-tutorial-getting-started-with-the-raspberry-pi&#x2F;experiment-1-digital-input-and-output" rel="nofollow">https:&#x2F;&#x2F;learn.sparkfun.com&#x2F;tutorials&#x2F;python-programming-tuto...</a> to tie conditions inside the Minecraft game with real world buttons and lights. Wire up a button to GPIO pins that the python code checks to trigger summoning a 5x5x5 block of TNT upon command, or an LED that lights up upon some other in-game condition. There&#x27;s a lot of material there, and if you&#x27;re on several Pis you can network them together safely so that all three can play together on the same server without needing access to the internet. Clobbering siblings with Minecraft Python magery is a great motivator. They&#x27;ll never even notice they&#x27;re learning stuff even adult devs may not know.
helph67about 2 years ago
&quot;Turtle Academy makes it surprisingly easy to start creating amazing shapes using the LOGO language&quot; <a href="https:&#x2F;&#x2F;www.turtleacademy.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.turtleacademy.com&#x2F;</a> I&#x27;m not connected with Turtle Academy in any way.
surprisetalkabout 2 years ago
I recommend helping them build stuff with elm playgrounds:<p>[1] <a href="https:&#x2F;&#x2F;elm-lang.org&#x2F;examples" rel="nofollow">https:&#x2F;&#x2F;elm-lang.org&#x2F;examples</a>
dstalaabout 2 years ago
Teach them how to use prompts instead. By the time they grow up, it&#x27;ll be GPT&#x2F;AI all over