The Null Device

you_smell.py

A post on teaching one's children to program in Python:
your_name = raw_input("What's your name? ")
if your_name.lower() == "freja":
  print "You're very stinky,", your_name
else:
  print "You smell lovely, ", your_name

Which sounds like the next generation's equivalent of 10 PRINT "JASON IS ACE!" 20 GOTO 10

There are 3 comments on "you_smell.py":

Posted by: gjw http://the-fix.org Thu Apr 7 00:22:07 2005

Heh. I love Python because I can program in it as if it's BASIC. Old habits die hard. C, Java, and Perl even, have a whole other paradigm that I could never completely get my head around.

Posted by: gjw http://the-fix.org Thu Apr 7 00:26:14 2005

...although are young kids these days interested in mucking about with programming languages? I was wasting hours writing programs on an Amstrad CPC when I was 8 - somehow, all I can imagine a current 8-year-old wanting to do is play PS2.

Posted by: acb http://dev.null.org Thu Apr 7 08:29:26 2005

Programming for fun is still a minority activity. The difference is that in the 1980s, the majority played ball games or watched cartoons, whereas now, the majority play Grand Theft Auto or whatever.

Want to say something? Do so here.

Post pseudonymously

Display name:
URL:(optional)
To prove that you are not a bot, please enter the text in the image into the field below it.

Your Comment:

Please keep comments on topic and to the point. Inappropriate comments may be deleted.

Note that markup is stripped from comments; URLs will be automatically converted into links.