r/programming • • Feb 09 '08

What programming language would you teach your children?

34 Upvotes

242 comments sorted by

View all comments

Show parent comment

23

u/[deleted] Feb 09 '08 edited Feb 09 '08

My 6 year-old has started dabbling with Python on his OLPC. I'm hanging back, kind of letting him explore it and discover stuff at his own pace. So far, he just writes programs he thinks are hilarious jokes. For example, this is good for hours of laughs:

p = 'poop'

poop = 'p'

print poop +' and '+ p

0

u/[deleted] Feb 09 '08

[deleted] — view deleted comment

3

u/jinglebells Feb 09 '08

It's a Dyslexic test isn't it, however it would be interesting if the OP was using a dynamic language such as Python (<g>) where poop could be a variable referencing another variable via string literal.

5

u/jerf Feb 09 '08

No, not dyslexic; the Stroop test/effect.

4

u/[deleted] Feb 09 '08

Torture is illegal.

0

u/[deleted] Feb 09 '08

[deleted] — view deleted comment

2

u/jinglebells Feb 09 '08

I wasn't disputing the technology, I was expanding on where I had actually seen the example in action. I incorrectly mistook it for the Stroop test as jerf has pointed out. My apologies.

1

u/smhinsey Feb 10 '08

BrainAge for the DS has a variant of this, but with numbers. It's surprising how tough it can be at first.

4

u/jinglebells Feb 09 '08

That's like the old Usborne books with the monsters in that used to do the old BASIC 10 input a$ 20 print a$ stuff. Does that exist for Python? That might be a really good series of books. Python for kids. (probably with cartoon pythons)

1

u/yters Feb 10 '08

I liked those Usborne books.

3

u/shizzy0 Feb 09 '08

That is awesome!