As a kid, I found the logic relatively easy, and the control structures moderately easy. Abstraction and complex types were the difficult part for me, and I still tend to evolve them by trial and error rather than defining them in advance (though having done so, I usually enjoy refactoring as soon as I have a working prototype).
Ask HN: Teaching programming to a 10 year old, and I'm kind of lost
11–20 of 51 posts
Re: Ask HN: Teaching programming to a 10 year old, and I'm kind of lost
#12Re: Ask HN: Teaching programming to a 10 year old, and I'm kind of lost
#13Logo worked for me. If you want to teach a "real" language (Logo is practically a LISP! It's real!) then Python has a turtle module.
Re: Ask HN: Teaching programming to a 10 year old, and I'm kind of lost
#14What does the 10 year old want to program? Most likely a game, which is challenging but which fortunately may be satisfied by a working snake or Space Invaders rather than requiring stereoscopic 3d with a physics engine. But a simple interactive graphing calculator can be just as much fun as a game. Tools and diagnostics are good too - instead of teaching arbitrary-seeming practices for problems the kid has not encou…
Re: Ask HN: Teaching programming to a 10 year old, and I'm kind of lost
#15Re: Ask HN: Teaching programming to a 10 year old, and I'm kind of lost
#16Umm well if you have the money go for lego mindstorms, if I was a kid again I'd want to play with legos and robots. (Hell they are still cool)
Re: Ask HN: Teaching programming to a 10 year old, and I'm kind of lost
#17I would start by asking him/her what she/he wants to do. Pick the tool that fits best. Want to build a game? Start with Scratch because it teaches the actor-based programming that you want to use for games.
Hard to give more advice without more specifics.
Re: Ask HN: Teaching programming to a 10 year old, and I'm kind of lost
#18Re: Ask HN: Teaching programming to a 10 year old, and I'm kind of lost
#19What does the 10 year old want to program? Most likely a game, which is challenging but which fortunately may be satisfied by a working snake or Space Invaders rather than requiring stereoscopic 3d with a physics engine. But a simple interactive graphing calculator can be just as much fun as a game. Tools and diagnostics are good too - instead of teaching arbitrary-seeming practices for problems the kid has not encou…
http://inventwithpython.com/ this isn't a bad book for teaching those simple games.