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 programming to children?

13 pointsby drodilalmost 8 years ago
I have one 13-year old child in my family who is really interested in programming but doesn&#x27;t know a thing about it. One afternoon I decided I would teach him some but I didn&#x27;t have a clue where to start from. Also he had quite strong opinions how programming works and how easy it is to create games without any knowledge of the area. I decided to start of with some basic HTML and CSS but he wanted to go straight to game programming which I don&#x27;t have a clue at all (I have done mostly low level C programming and some web programming).<p>Do you guys have any good tips how to teach programming to this kind of child so that it will keep him motivated?

9 comments

Mzalmost 8 years ago
Game modding is an easier way to get your toes wet in this area. Find an open source game, a supportive community and generally try to supply resources to the kid.<p>Learning is something that comes far more naturally than teaching. If you aren&#x27;t qualified to teach it, then don&#x27;t try. Instead, facilitate their self study process. It will be far more effective and a better experience for both of you.
评论 #14480734 未加载
Phithagorasalmost 8 years ago
Hey drodil<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1076825" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1076825</a><p>has an old (but still relevant) discussion of this.<p>I got interested at 11, wanting to make games, but my expectations (and those of my friends, particularly) were far too high. It wasn&#x27;t until I was 15 or so and got interested in the function of computers and mathematical logic that I really learned anything.<p><a href="https:&#x2F;&#x2F;projecteuler.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;projecteuler.net&#x2F;</a> fed my hunger for challenge, knowledge and quick(ish) reward.<p>Edit: I started in Python and Pygame at 11, continued Python at 15 and then got into Clisp.
babyrainbowalmost 8 years ago
&gt;so that it will keep him motivated?<p>You says he is interested. Then he won&#x27;t lose motivation. Even if it does, it will keep coming back to him. With the help of the Internet, he will figure things out on his on.<p>As a starter, maybe give him something like this <a href="https:&#x2F;&#x2F;processing.org&#x2F;download&#x2F;" rel="nofollow">https:&#x2F;&#x2F;processing.org&#x2F;download&#x2F;</a><p>He can start making 2d and simple 3d stuff with it quite easily.
zhte415almost 8 years ago
It sounds they want something tangible. See a result.<p>What&#x27;s your child&#x27;s aim? Impress they friends &quot;I know game design!&quot; Because that&#x27;s impossible in a few weeks, or years, with expectations like beautiful visual effects.<p>Android&#x2F;iOS also have a pain of structured languages.<p>Perhaps something like 100 Javascript steps per day. I did search, and perhaps another HNer could follow, but there was link 3-4 years ago about a person that gave herself a javascript challenge per day, starting from really basic HTML&#x2F;CSS, to some quite interesting creations, in the space of a few weeks&#x2F;months.<p>Then given some grounding in JS, extend that with something Node and React-based later (but don&#x27;t announce that yet? Sounds too scriptured?). With a low-level understanding, you could certainly explain problems novices encounter with things like string inspections and data types.
ThePawnBreakalmost 8 years ago
I would try starting with Scratch first, to see if he likes it and because it&#x27;s very easy to get started, with very little friction. If he seems to enjoy it and seems to understand the way of thinking, I would move to Python with Pygame next.<p>A friend of my created a Udemy course where he teaches how to build games such as Flappy Bird or Pacman in Scratch. It could be a good start. Let me know if you&#x27;d like a coupon (would cost $10).<p><a href="https:&#x2F;&#x2F;www.udemy.com&#x2F;programming-for-kids&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.udemy.com&#x2F;programming-for-kids&#x2F;</a>
woolybullyalmost 8 years ago
Can she&#x2F;he do non-twitch games like Sokoban, Bloxorz, Incredible Machine? Not just the beginning levels, but the more advanced levels. If so, advance to one of the thousands of programming enviroments that&#x27;ve been developed for kids. Unfortunately, there&#x27;s currenly no clear winner. My favs are Racket, Alice, Logo, TouchDevelop, and soon, <a href="http:&#x2F;&#x2F;code.world" rel="nofollow">http:&#x2F;&#x2F;code.world</a> (but not yet).
indescions_2017almost 8 years ago
Bit pricey at $180 retail, but I can recommend Anki&#x27;s Cozmo learning robot. Seeing a robot &quot;grow&quot; is the kind of magic that can unlock a lifetime interest in AI. App is intuitive, and with the right supervision even the Python SDK can be grokked by tech loving 13-year-olds!<p><a href="https:&#x2F;&#x2F;anki.com&#x2F;en-us&#x2F;cozmo" rel="nofollow">https:&#x2F;&#x2F;anki.com&#x2F;en-us&#x2F;cozmo</a>
ObscureSciencealmost 8 years ago
I would suggest trying a simple game framework such as Löve or pyGame (or pyglet). The former use the lua language and the latter python. I guess Scratch could also be interesting, but I think some 13 year olds may not be attracted by it&#x27;s &quot;childish&quot; appearance.
bbcbasicalmost 8 years ago
Why not start with designing the world&#x27;s for existing games.