Give the Why's Poignant Guide and you can't go wrong. Plus he'll love the cartoons, even if he doesn't get the strangely subtle adult humor.
Ask HN: What programming language should I teach my little brother?
21–30 of 119 posts
Re: Ask HN: What programming language should I teach my little brother?
#22As a teenager, I tried various "real" coding languages - C++, Java, VB (ugh) - but I was never able to get engaged in them. All I wanted to do was build something cool quickly, and none of these languages allowed that without a significant time investment. Then, I tried out PHP. Within a few days, I was building random tools left and right, and having a great time doing it. So, to get him interested, I recommend you…
I personally thought VB6 did a good job of letting you build something quickly in its day, in spite of its other faults.
Re: Ask HN: What programming language should I teach my little brother?
#23Call me old school, but I would start off with Basic. If he was younger I would recommend Logo. Once he's hooked I would get him into C or pascal. I can't recommend enough getting him a "Basic Stamp" kit. Seeing how software can control hardware is magical. Then work him up into "Arduino" world in C.
"Hey, see if you can make those 8 LEDs do like the KITT car!"
Re: Ask HN: What programming language should I teach my little brother?
#24As a teenager, I tried various "real" coding languages - C++, Java, VB (ugh) - but I was never able to get engaged in them. All I wanted to do was build something cool quickly, and none of these languages allowed that without a significant time investment. Then, I tried out PHP. Within a few days, I was building random tools left and right, and having a great time doing it. So, to get him interested, I recommend you…
These days though, I would recommend teaching him Python or Ruby.
Re: Ask HN: What programming language should I teach my little brother?
#25Re: Ask HN: What programming language should I teach my little brother?
#26At 13, he may be too old for it, but Logo was one of my first languages back in elementary school, and I remember being very excited that I could write my own galaxian clone in just a day or so.
Otherwise, I would stay away from JavaScript and Ruby (I like them, but they are hard for beginners) and stick with Python.
Re: Ask HN: What programming language should I teach my little brother?
#27As a teenager, I tried various "real" coding languages - C++, Java, VB (ugh) - but I was never able to get engaged in them. All I wanted to do was build something cool quickly, and none of these languages allowed that without a significant time investment. Then, I tried out PHP. Within a few days, I was building random tools left and right, and having a great time doing it. So, to get him interested, I recommend you…
Python seems to be the teaching language of choice these days, and it lets you do useful stuff without getting in the way. It's certainly not the only language to learn, but I'm inclined to say it should be the first.
Re: Ask HN: What programming language should I teach my little brother?
#28(I took a class in which we used NetLogo to run agent-based economics simulations. Lots of fun, although the LISPer in you will start to hate it after a while.)
Re: Ask HN: What programming language should I teach my little brother?
#29Heck, there are plenty of situations where exactly this happened, and the programming language was COBOL or Assembly!
Re: Ask HN: What programming language should I teach my little brother?
#30Project sprouts (http://www.projectsprouts.com) makes it easy to get started in ActionScript and is also a good introduction to writing support scripts in Ruby.