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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Gift for a 11-year-old hacker

6 点作者 saturnian将近 8 年前
My sister is a bright, self-motivated, girl that has taught herself HTML and CSS, but hasn't learned a real programming language yet. She still doesn't grasp the concept of a function, which is understandable at her age. There's lots of books on CS that I'd love to give her, but that she's too young for. Any suggestions?

6 条评论

babyrainbow将近 8 年前
Try to explain programs as a to do list for computers. This might be hard since her fist exposure to computers is HTML&#x2F;CSS. kind of sad actually. How did that happen? Just curious...<p>Maybe show her that she can put dots of any colors on screen using html canvas and javascript. Show her how to draw lines. How to draw circles and color them. Show her how to move them....That should be enough to get her off from Html&#x2F;Css and move to real computer programs...<p>May be just leave her alone..encourage her to spend less time with computers and go out and play with other kids..She is 10 year old, right?
atmosx将近 8 年前
Not sure if this is going to work, but instead of trying to explain what a function is at a theoretical level - which <i>is</i> a difficult concept to grasp at that age - why not show her the code without too much theory?<p>I&#x27;m not a programmer by profession, so take everything I say with a grain of salt, why not trying to <i>show</i> what a ruby add&#x2F;multiply function looks like:<p><pre><code> #!&#x2F;usr&#x2F;bin&#x2F;env ruby def add(x,y) b = x + y return b # could be just &quot;b&quot; or omitted but I consider verbosity a *virtue* here end </code></pre> Of something like:<p><pre><code> #!&#x2F;usr&#x2F;bin&#x2F;env ruby def hello(name) puts &quot;Good morning, #{name}&quot; end </code></pre> I believe Ruby is a better choice than Python because it <i>can</i> be more verbose, closer to English and doesn&#x27;t rely on indentation. Javascript might be another option, but explaining the difference between class and function in JS to a novice might be problematic.<p>There&#x27;s this book which is rather playful: <a href="http:&#x2F;&#x2F;poignant.guide&#x2F;book&#x2F;chapter-1.html" rel="nofollow">http:&#x2F;&#x2F;poignant.guide&#x2F;book&#x2F;chapter-1.html</a>
gus_massa将近 8 年前
What about &quot;hardware&quot;? I bought to my daughter a Snap Circuit kit, but she was younger. <a href="https:&#x2F;&#x2F;www.google.com.ar&#x2F;search?q=snap+circuit&amp;tbm=isch" rel="nofollow">https:&#x2F;&#x2F;www.google.com.ar&#x2F;search?q=snap+circuit&amp;tbm=isch</a>
randack将近 8 年前
I purchased a BitsBox subscription for my nieces&#x2F;nephews, and they love it. <a href="https:&#x2F;&#x2F;bitsbox.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;bitsbox.com&#x2F;</a><p>It&#x27;s not cheap, but I&#x27;m a big believer in encouraging this kind of learning, and I feel like it&#x27;s been worth it. They range from 7-13 yrs.
kentbrew将近 8 年前
Get her a decent hacker&#x27;s keyboard. She will treasure it always. <a href="https:&#x2F;&#x2F;elitekeyboards.com&#x2F;products.php?sub=pfu_keyboards" rel="nofollow">https:&#x2F;&#x2F;elitekeyboards.com&#x2F;products.php?sub=pfu_keyboards</a>
评论 #14751851 未加载
asidiali将近 8 年前
If she likes games - <a href="https:&#x2F;&#x2F;getchip.com&#x2F;pages&#x2F;pocketchip" rel="nofollow">https:&#x2F;&#x2F;getchip.com&#x2F;pages&#x2F;pocketchip</a>