Lurker News
Last 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 comments
neilv#
This is more sophisticated than my first line of code, but maybe reflects some universal underlying truth about how all of humanity is connected.

We 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.

dhosek2 replies#
The first program I ever wrote was in AppleSoft BASIC. It would pick a random location on the screen and print MILK in inverse text at that location. And then GOTO 10. Anyone else remember their first program?
incanus77#
Wasn’t quite my first, but one of the earliest I recall on a TI-99/4A was programming the Jeopardy! theme song with frequencies and durations in CALL SOUND statements.
Arrath#
An AutoIt script that opened the cd tray and popped up a message box with some taunting phrase or another.
scrumper#
Now to suck the joy out of it for her by giving her a code review and a lecture about I18N :)

I like that the code itself is almost poetic, and is in itself a statement about the problem domain. Knuth would be proud.

iamgopal#
:D, my son tired of changing battery of a computer mouse, added charger circuit and battery of his old toys, ( that’s charging circuit of Bluetooth speaker and that’s old helicopter toy battery )

As 8 year old, I’m proud that he recognised a problem and solved it.
https://www.dropbox.com/s/ivuxfgyv9ehlvdu/View%20recent%20ph...

Load more comments