3 ms·
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
by bitwize 4y ago
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.