Ask HN: What is your first piece of code? My first piece of code is printing triangle on screen. |
Ask HN: What is your first piece of code? My first piece of code is printing triangle on screen. |
I still know it by heart, though it was written more than two decades ago.
## REM TYPE "IS A FLASHY PERSON" IN INVERSE VIDEO
from a listing in the little manual that came with my Atari 800XL, before I new what REM meant.
Got me started on programming way back in the mid 80s. Once I knew how to make a program exit, I was more confident of writing more code
10 PRINT HELLO
20 GOTO 10
on an Apple ][ GS when I was ~6 years old.10 PRINT <something>; 20 GOTO 10
I was hooked from that point on. Brings back memories.