Hacker News new | past | comments | ask | show | jobs | submit login

The approach I'd use would be to find a problem he wants to solve, and teach him to solve it in a few languages.

One of the big "duh" moments when learning CS is when you realize that all languages consist of similar structures to let you get things done.

Not sure what his interests are, but I'd probably choose from:

Ruby or Python

Haskell or Lisp

Javascript

Maybe c or c++ too to remove the intimidation factor, even if it's just for Hello World.

After he can write simple 50-ish line programs in those three languages and knows a bit about how they work, zoom in on one of them and take things a bit deeper, and then a few weeks later zoom back out and see if he can "self-teach" himself those same concepts in the other languages.

This assumes he doesn't want to just jump in a build something for the web, in which case you have to decide how much HTML/dom/standards stuff to teach him (which is largely boring to newcomers) at the expense of doing some cooler programs.

Alternately, you might just want to use pygame and build a fun, playable game with him and not worry about too much theory until after he's having a lot of fun with it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: