TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How to teach programming to children?

13 点作者 drodil将近 8 年前
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 条评论

Mz将近 8 年前
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 未加载
Phithagoras将近 8 年前
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.
babyrainbow将近 8 年前
&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.
zhte415将近 8 年前
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.
ThePawnBreak将近 8 年前
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>
woolybully将近 8 年前
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_2017将近 8 年前
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>
ObscureScience将近 8 年前
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.
bbcbasic将近 8 年前
Why not start with designing the world&#x27;s for existing games.