Hacker News new | ask | show | jobs
by Swizec 5094 days ago
When I was ~12 I wrote a 4000+ line monstrosity in Pascal. I had to learn about functions/procedures because the GOTO wouldn't jump far enough anymore.

I called it an OS, even though it was just a text-based visual shell running in DOS that let you do pretty much anything. Actually used it as my primary "OS" for a few months.

Another cool thing was a game I wrote in BGI graphics with Pascal. Was fun to play, but I didn't know about arrays so there were roughly 200 global variables.

Oh and all the code I wrote before I was ~15 tried to use as short variable/function names as possible for some reason. When I used up the alphabet I'd go to aa, ab ... I want to slap my young self for that.

PS: I started programming when I was 9, in Logo. That was fun too. But the real fun started when I "unlocked" Pascal at 11.