News for hackers. Stuff that matters.
Re:Ask HN: My nephew wants to learn programming. What should... by metamemetics on Monday January 25, 2010 @10:43PM (#1076951)
definately python over javascript!

-interactive shell

-easy to debug

-lot of great simple graphics libraries too

-making 3d shapes is funner than div containers

For 3d shapes, http://vpython.org is a good simple library. He will be able to figure out how to get balls rolling around in no time.

For a media library with sound for making 2d games, definately go with SFML (simple fast multimedia library) over pygame: http://www.sfml-dev.org/

It's faster and also has versions for C, C++, .Net, D, and ruby, so if he wants to learn one of those languages later he can try to port his game.

There are no comments on this comment yet.