April 01, 2005
Freja coding

While Freja and I were playing with some Python last week, it occurred to me that the biggest problem that she (and presumably other kids) was having was how unforgiving computer languages are. For instance, after changing the name in the 'you_smell.py' script, she decided that she wanted to have it react to "daddy" or "ella" in certain ways. Without prompting, she tried:

if your_name.lower() == "daddy or ella":

Now, that doesn't actually work, but it's not a bad stab, I reckon. But you get no positive feedback for getting close - stuff just doesn't work. And many of the changes she made were plain syntax errors.

This wasn't a problem - I was with her, and I didn't allow her to become frustrated. But I doubt that you could leave a child of her age on her own to play with this stuff, really.

Posted to Parenting by Simon Brunning at April 01, 2005 04:27 PM
Comments

That sounds very familiar.

My first attempt at programming was in grade school, writing programs on yellow tablet paper for a friend who had a VIC-20 to take home, type in, and come back the next day with a list of syntax errors.

My first "difficult" bug was of the nature:

20 IF A = 1 OR 2 OR 3 THEN...

Posted by: Tim Lesher on April 1, 2005 07:16 PM

SNOBOL perhaps ... Or is that before your time?

In any case, if you want her to use Python correctly, I hope you don't let her repeat my mistake: get her using Unicode strings ASAP!

Posted by: David Janes on April 2, 2005 02:24 AM
Post a comment
Name:


Email Address:


URL:



Comments:


Remember info?