News for hackers. Stuff that matters.
Re:Ask HN: What programming language should I teach my littl... by pavelludiq on Saturday January 10, 2009 @01:58PM (#428179)
python or ruby are good choices. They can be used to do UNIX scripting, and each one has some really cool modules to do graphic stuff. I'm learning ruby just now, so that i can do GUI programming with shoes, and im using _why's guide: http://poignantguide.net/ruby/index.html

I don't know which one is better for a 13 year old, just pick the one you know better.

Re:Ask HN: What programming language should I teach my littl... by unalone on Saturday January 10, 2009 @02:09PM (#428196)
Seconding Ruby, just for _why's guide. I've never read anything that makes me so immediately enthusiastic about coding, and it still has that effect when I reread it. I wish I'd known about that as a kid.
Re:Ask HN: What programming language should I teach my littl... by derefr on Saturday January 10, 2009 @03:04PM (#428261)
I've always liked Chris Pine's tutorial (http://pine.fm/LearnToProgram/), because you can go through them with someone who's paying attention in about two hours. I do love _why for self-teaching, though.

My biggest recommendation, though, is that once the kid has any sort of "foundational" programming language under his belt, you write a Scheme interpreter together, in that language, and then show him that the interpreter you just wrote can run Scheme files that already exist (possibly ones you pre-prepared.) That's the best way, I've found, to burn into someone's head that there's no one-true-language, and to get their mind started experimenting with "what if the language was different in way X? Could I code that?" trains of thought.

Re:Ask HN: What programming language should I teach my littl... by brianto2010 on Saturday January 10, 2009 @04:10PM (#428340)
Also consider Hackety Hack from _why. It is very involving, giving step-by-step instructions and crystal-clear explanations (like TryRuby).

http://hacketyhack.net/reality/

Re:Ask HN: What programming language should I teach my littl... by unalone on Saturday January 10, 2009 @06:51PM (#428551)
Somebody downvoted this entire thread; no clue why. I've never tried Hackety Hack, but it looks like a really interesting tutorial set. Thanks for the tip!
Re:Ask HN: What programming language should I teach my littl... by eli on Sunday January 11, 2009 @02:14AM (#428945)
I played with it a while ago. Not too shabby. Seems perfect for a 13 year old. It's fun and it makes it easy to make something happen.
Re:Ask HN: What programming language should I teach my littl... by fp on Saturday January 10, 2009 @03:50PM (#428319)
I'd also recommend Ruby and suggest you take a look at Shoes (http://shoooes.net/) which makes it very easy to code GUI-apps with all sorts of fun-stuff in them like animations, downloading data from the web, videos.

The most important part in teaching a 13 year old programming is to let him have fun and a give him a sense of achievement. The rest will come.

Re:Ask HN: What programming language should I teach my littl... by jackowayed on Saturday January 10, 2009 @06:59PM (#428555)
I agree! The poignant guide is perfect for having fun in the reading about it part.

And Ruby has a number of other benefits:

* Easy web frameworks if he wants to get into that (Rails, Merb, Sinatra, Camping, etc)

* Definitely fulfills the "beautiful syntax" part

* shoes for really easy GUI apps (that are portable, so he can show it off to his lame windows-using friends)

* Built-in powerful regexps for that pattern matching you expressed love for

* It's generally something that you'll run from command line, helping with the learning about Linux part

* Lots of cool libraries out there

* Object-Oriented, which at least for me was a very easy thing for me to grasp (especially compared to functional, which I'm currently trying to learn)

* Awesome