I've been extorted into introducing the neighbor's daughter (and possibly her slightly younger brother) to programming concepts this summer. She will be entering sixth grade (middle school) in the fall. I'm aware of a few possibilities which have educational materials:<p>- Storytelling Alice (Windows only, I'm Mac).<p>- Scratch, built on top of Squeak by folks at MIT (I'm currently leaning towards this).<p>- Squeak itself.<p>- Hackety Hack, for Ruby. (Currently Windows only, and apparently on hiatus. Looks really neat though).<p>Any other recommendations? Where's "A Young Lady's Illustrated Primer" when you need it?
I learned to program around 5th grade (age nine) in Turbo Pascal. I found writing command line oriented programs pretty easy and straightforward. It wasn't hard to learn the concepts and write the code. If the girl is anything like I was, I'd suggest teaching a basic scripting language, (Perl, Python) on a CLI.<p>Personally, I'm against insulting a child's intelligence with a toy meant to baby them. When I learned to program, I built practical things I could use. When I hit toy languages, I got very frustrated by their limitedness.
You scared me when you claimed that Hackety Hack is "on hiatus".<p>But, no, a look at <a href="http://hackety.org/" rel="nofollow">http://hackety.org/</a> suggests that _Why is just on one of those epic hacker side-tracks, like Knuth went on when he took a decade-long break to invent TeX. To make Hackety Hack work well cross-platform, _Why had to invent a cross-platform Ruby-based toolkit for web-like apps (Shoes) and he's still kind of polishing that. So I don't think Hackety Hack is dead, yet. It may merely be cocooned, preparing to burst forth like Mothra and blow us all away with hurricane force.
What about "The Little Schemer"? I remember thinking it would be a great book to teach a smart little kid about computer science. Unfortunately I don't have it with me right now (and won't anytime soon) so I can't confirm my memory. I think it would take a lot of direct interaction with the kid; the book in one hand, a Scheme interpreter running on the computer and a live coach to ask good questions and explain. If done well this could be an amazing learning experience for the right sort of gifted kid.
<i>"... I've been extorted into introducing the neighbor's daughter (and possibly her slightly younger brother) to programming concepts this summer ... Any other recommendations? ..."</i><p>Here's one that might be worth considering. Kids like to draw. So get them to draw something on either paper then scan it or on the screen with a paint program. Save the image(s) to either a .png or .jpg format.<p><pre><code> hand drawn images + browser + Processing.js
</code></pre>
Then head over to <a href="http://ejohn.org/blog/processingjs/" rel="nofollow">http://ejohn.org/blog/processingjs/</a> then check out the sprite example ~ <a href="http://ejohn.org/apps/processing.js/examples/basic/sprite.html" rel="nofollow">http://ejohn.org/apps/processing.js/examples/basic/sprite.ht...</a><p>Forget python, squeak, ruby. Arc and lisp can wait. Think browser as your OS and Processing as your language. The bonus of creating their own images then given some bits of code to change the numbers. Let them fail a few times. Most important is getting an immediate result.<p>This is probably the simplest environment that most kids are familiar with, a browser. So use it. There are plenty of examples ~ <a href="http://processing.org/learning/basics/" rel="nofollow">http://processing.org/learning/basics/</a> the system is FOSS and x-platform. The example also allows them to create their own "Illustrated Primer" with powerful tools yet still simple to use.
Scratch is very cool. I've got young kids now and was introduced to computers as a kids so I think its a great idea to learn through games. I blogged about this on <a href="http://kidconfidence.com/blogs/2007/05/28/learning-how-computers-work-through-video-games/" rel="nofollow">http://kidconfidence.com/blogs/2007/05/28/learning-how-compu...</a> saying HTML/JavaScript is a great way for kids to start learning how to program. Also check out Chipwits.com for learning logic.
-Don
I had a post on this same topic. Lots of good suggestions in the post... especially if you want to start from the perspective of making video games.<p><a href="http://www.jacksonfish.com/blog/2007/08/28/programming-for-kids-and-rolling-your-own-videogame/" rel="nofollow">http://www.jacksonfish.com/blog/2007/08/28/programming-for-k...</a>
You've been extorted? Well, pass the extortion right on down. Or, do what I do, bribery.<p>Earn a bankroll of neopoints at neopets.com, and give them out as payment for programming exercises completed. My daughter (nine) just earned 30,000 neopoints from me yesterday for doing three easy Python programming exercises (where easy, starting out, means something like "cut and paste this and get it to run, with help from Dad allowed" and then goes from there). How to earn lots of neopoints? Neopian stocks, mostly.<p>Scratch is so good you can even use Scratch time as a reward, if you're mean enough to do that.<p>For editing of Python, we're trying out Pico, which is like an Emacs lite, with the main useful commands clearly shown at the bottom of the screen.
Teach Logo. It teaches geometry, block structure and subroutines. Kids get instant graphical feedback. It also smoothes the beginning of the learning curve because you can get interesting output without understanding loops or variables.
I would say Storytelling Alice, but the scheduled release date for 3.0 is summer of next year. I've used Alice 2.0 and am satisfied with the experience, but the model library lacks if you're doing anything more than a nice neighborhood scene...<p>I'd go with something that has a large quality graphics/model library. Its good learning how to code, but its even better to feel proud of what you've created, and having an application, movie, or game that looks nice and polished is crucial for that feeling of accomplishment.
I wrote my first program in QBasic (!) Somehow I ended up with a floppy disk which contained the game nibbles. I was playing around with the computer and realized I could look at the source code. Then I started messing around; I wrote a guitar tuner, and a quiz program.<p>Seems like the biggest hurdle will be getting them interested and thinking for themselves (for example, if you ask them to write whatever kind of program they want, how the heck are they going to know what's possible?)
Do it right thing from the beginning. I was teached basic when I was a child, and it crippled by brain for programming. I had to unlearn and forget loads of crap. I say use python, because it is clean, multiplatform, multiparadigm, has console (ie. immediate incentive to see if the thing is working and why), powerful, and has batteries included.<p>Once you can use python, jumping to C++, C# or Java is not that hard.
Squeak eToys include a lot of nice goodies. You need to play around with them enough to be able to guide them through to get the most out of them, however. (This probably goes for anything mentioned as a suggestion, of course.)<p>If you want to make them really uber: From Nand to Tetris in 12 Steps!<p><a href="http://www.youtube.com/watch?v=JtXvUoPx4Qs" rel="nofollow">http://www.youtube.com/watch?v=JtXvUoPx4Qs</a><p>All the courseware is open source.
I might consider taking this way:<p>“My 6 year old son is learning computer programming by first understanding the mathematical foundations, then applying what he has learned using Haskell, because it is short and natural (he doesn’t even know what Haskell is)”
<a href="http://blog.tmorris.net/does-java-cause-self-delusion/" rel="nofollow">http://blog.tmorris.net/does-java-cause-self-delusion/</a>
I've no idea how old 6th grade is (didn't go to US highschool), but wouldn't the OLPC, <a href="http://laptop.org" rel="nofollow">http://laptop.org</a> , be ideal for a kid to learn programming? They looks at the code of all the applications running on the OLPC and change them on the fly.
What about HTML + javascript? Very visual with instant feedback. You get the programming stuff with javascript (an under appreciated language) and introduce the concept of a structured document with HTML. You can use firebug as an intro to debuggers too.
Check out <a href="http://www.bfoit.org/itp/itp.html" rel="nofollow">http://www.bfoit.org/itp/itp.html</a> They teach kids using Alice and also jLogo. I've taken the jLogo class and that is how I became interested in programming during high school.
You might try the "Professor and Pat" programmer newbies books:<p><a href="http://professorandpat.org" rel="nofollow">http://professorandpat.org</a><p>I have had students as young as 10 make it through the programming newbies series of books on this site with a little help.
<blockquote>Where's "A Young Lady's Illustrated Primer"</blockquote>
How to the Think like a Computer Scientist is a pretty good primer for python.
web programming, it's something they can see the results of right away and prettier sooner. You must keep them interested, imho. on top of html/css show them js and php/mysql perhaps even teaching them ajax (you can sub php/mysq for preferred lang, db).