My question is: If I do, what language should I teach my son at first? Currently I'm mostly familiar with Rust, and a little Python. I used to write C for 10 years and Java for 3 years. I also use Objective-C. I think, as common sense, I should use the language I am mostly familiar with (Rust), but I doubt that's a good idea for 9-year old.
Ask HN: How do you teach 9-year old to code?
1–10 of 30 posts
Re: Ask HN: How do you teach 9-year old to code?
#2Re: Ask HN: How do you teach 9-year old to code?
#3Re: Ask HN: How do you teach 9-year old to code?
#4Re: Ask HN: How do you teach 9-year old to code?
#5I would definitely start with a block-based programming environment just to get started with general concepts like if-statements, loops, and whatnot.
Then move on to an easy to learn language such as Python probably. Simple, no fuss.
Re: Ask HN: How do you teach 9-year old to code?
#6Re: Ask HN: How do you teach 9-year old to code?
#7Re: Ask HN: How do you teach 9-year old to code?
#8Given its loosy-goosiness and ubiquity in gaming (Roblox), Lua is the inarguable answer.
Re: Ask HN: How do you teach 9-year old to code?
#9Do the simplest possible thing to get your son interested in anything remotely like programming. The other comments have some good suggestions. With some success at simple things like animated robots and Minecraft and Mindstorms your son may decide to keep digging into programming.
Re: Ask HN: How do you teach 9-year old to code?
#10It doesn't have very much syntax but you can still do stuff with it. A good place to start might be to find a library for something he likes. Maybe a game or some other topic he is into.
I've been using this video to teach someone. We watch for a while and then pause and code on my PC. I honestly don't know if it's a very good method or even a very good video. Results have been good so far though.