3 ms·
Funny coincidence. Just yesterday, I started teaching my 9yr old son programming - he kept pestering me for a while after the science fair at the school, where
by Florin_Andrei 16y ago
Funny coincidence. Just yesterday, I started teaching my 9yr old son programming - he kept pestering me for a while after the science fair at the school, where one of his buddies had a "programming" project.
Long story made short - I ended up choosing Python. Intuitively, I strongly resisted this conclusion. But in the end, it made sense: the syntax is clean (some would say too rigid, I say that's okay for a teaching language), it's pretty hard to obfuscate the code (unlike Perl), you can do "import turtle" and voila it's Logo, and there are plenty of tutorials and books geared towards beginners including young children.
We had lots of fun doing things like:
>>> import turtle
>>> t = turtle.Pen()
>>> t.forward(50)
>>> t.left(90)
>>> t.forward(50)
I showed him variables, a little bit about strings and lists. Next up: loops, if/else, etc.
I'm following this book:
http://www.briggs.net.nz/log/writing/snake-wrangling-for-kids/ http://www.briggs.net.nz/log/writing/snake-wrangling-for-kid...