Tell HN: My child's first program
417 pointsLast night, I introduced my kid to programming. We'd done some stuff with Mindstorms before, but she never really caught the bug for it. But for some reason, last night when I showed her some simple Python scripting to solve math problems and write to the console, she was enthralled.
After guiding her through a few things, she took the laptop off for a while and then came back with her first program, giggling like a maniac
you='WOW!!!'
fart='So many poops!'
print(you,fart)
I'm pretty proud :D
Comments (136) 58 threads
Earlier commentsWe kids finally got parents to buy a computer. They brought home a TI 99/4A, plugged it into the TV, kids all gathered around, got to the TI Basic prompt, everyone's full attention, but we didn't know what to do.
Someone typed something, got an error message, and a few more things.
One of us asked whether what we type "goes into the memory of the computer", wide-eyed fascinated.
Then we proceeded to type juvenile naughty things into this memory of the computer, which is the greatest thing.
I like that the code itself is almost poetic, and is in itself a statement about the problem domain. Knuth would be proud.
As 8 year old, I’m proud that he recognised a problem and solved it.
https://www.dropbox.com/s/ivuxfgyv9ehlvdu/View%20recent%20ph...
All comments shown.
Couldn't load more comments. Check your connection and try again.