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
ihaveajob#
My kid really took to Scratch last year when he was 6. We got a Raspberry Pi 400 and reading the manual he saw a full chapter on Python. Now when I'm working, he'll come by and say "hey! that's Python!"

Conveniently, the [turtle module](https://docs.python.org/3/library/turtle.html) comes built-in and he also got to draw some fun patterns after reading the "Secret Coders" comic book series. It's really fascinating to see him develop his mental models.

fbn79#
I started programming as an autodidact in fourth grade, creating programs on an Amstrad with BASIC language, reading the instruction manual (I didn't speak English). I remember the joy when I had the idea that it was possible to add a variable to itself to increase a number A = A + 1 instead of having to use multiple variables and that testing it worked. I felt like a genius.
napolux1 reply#
no tests, no ci, no dockerization, no deploy on the cloud

NO HIRE for me

ivraatiems#
Counterpoint: Good variable names, concise and readable. Really conveys that you fart, I don't think I could escape knowing that having read this. Shows initiative - she did this on her own.

I think we could bring her on as a junior.

bitwize#
I've always said that most kids my age got the programming bug with something like the following:

    10 PRINT "FARTS"
    20 GOTO 10
And it's as good a start as any other. Probably better since it drives home the idea that the computer follows your orders, even to the point of breaking taboos.

There was an intro to computers book from the 80s that was written entirely this way. Its first example Pascal program concatenated the strings FAR, TIN, and G, yielding FARTING. When they wanted to introduce machine language and assembly language, they invented a pretend instruction set and an assembler for it, calling it the Simple, Excellent for You Assembler, or SEXY ASS.

Load more comments