Ask HN: What was your earliest “programming” memory?

22 points by bokohut ↗ HN
It was the early 1980s and my mom and I would often walk to visit an elderly neighbor that lived behind us. I was offered to watch television while my mom chatted however my eyes were very often led away from the shows to the constant blinking VCR interface just below. After several visits my curiosity got the best of me and I figured out how to set the clock on the device. The neighbor was shocked that I had figured out how to set the time as they had tried multiple times but failed yet they were even more surprised, as I recall, that it no longer distracted from their viewing as it had mine while just visiting. I consider this my earliest memory of “programming” and therefore, looking back, recognize the impact that understanding technology can bring to others.

40 comments

[ 3.7 ms ] story [ 90.5 ms ] thread
My first code was on Planet Source Code, I guess the precursor to GitHub. It was a Visual Basic Tamagotchi-like game, most likely violating copyright laws.
My first computer as a kid, a C64 came with a basic programming book. One of the programs played Tom Dooley which at the time I thought was pretty neat.
I remember working on a Geocities site, getting frustrated with the sitebuilder and starting to learn HTML. Good times :-)

I was so happy to have my little page on the slice of the web. I still think about it fondly.

P.S. for those interested, it was a website about Yoshi (the Nintendo character).

Coming into school before all the other kids to take a C++ class before regular school starts. I think we had 4 or 5 of us plus the teacher. Making stuff like hello world, a guessing game (generates a random number 1-100, then the statical tactic of only needing 7 guesses if you always pick the middle number), pointers, etc.

Oh, I forgot about middle school. I remember making some basic html websites, but they were just static displays.

A couple memories. I remember, in 4th grade back in 1977, I found a book in the library about BASIC. I read it and painstakingly wrote out simple (and probably wrong) basic programs on notebook paper. Never ran them; had no access to any computer. I just liked the idea.

Then in 5th grade, my elementary school was temporarily loaned a Commodore PET. Chicklet keyboard variety. A few 'special' kids were selected from each class to spend an hour basking in the glory of the machine. Don't remember if we were allowed to touch it.

Then.. maybe another year later... my brother purchased an Ohio Scientific c24p. Very similar to a pet. From there, it was off to the races.

Running a private server for a popular game called Maplestory back in 2010. 14 year old me trying to make heads or tails of dns, port forwarding, etc. Hardest part was understanding enough of the code to set things like server messages, spawn and drop rates, etc. Ended up getting it working after several weeks of effort.
Learning BASIC using one of those gigantic "make your own game" books on our C64. Man I loved that computer. If I remember correctly it was a C64C, so probably around '86 or '87.
When I was about 12 years old my dad got me a Sharp PC-1500 pocket computer [1]. It had 2KB of memory, a one line LCD display (156×7 pixels), and ran BASIC. I cut my teeth programming it and progressively creating more elaborate programs. At that time I had a hobby of drawing line art like logos and characters. I remember programming it to do animations with physics of the type you usually see in product demos, e.g. a logo dropping from the top and bouncing until it rests; a logo getting formed from animating random pixels, etc. Fun times.

[1] https://en.m.wikipedia.org/wiki/Sharp_PC-1500

Acorn Electron typing random shit in - literally cargo cutting - and getting frustrated that nothing would happen. I’d think yeah the listings do x = x + 1 so I’ll have one of those. I learned programming by trial error imitation.
Two fun memories come up. 1990-1991 floppy disk, dos viruses era : 1) a classmate places a floppy disk next to another one and takes it back in horror when he was informed that the other one had "virus". 2) a steel sheet cut planning algorithm was running for hours on a 486. A professor's child walks in, asks "which button should i NOT press". Absent minded classmate points to the big red one on the 486.
My dad getting a Sinclair ZX81 kit and soldering together then booting into BASIC and him showing me how to program it. Then typing in BASIC programs from magazines only to have them disappear on power down until we got a cassette save working.

Still have the Sinclair in a box in the basement keep wanting to try and get it to boot again.

https://en.wikipedia.org/wiki/ZX81

Got a Commodore 64 after again boots into BASIC, I remember thinking how strange PC's where later that they didn't boot into a full programming language REPL but instead just a command prompt.

Very similar. ZX-48 at 11 years of age. First some graphics programs, then a chess program. The first program I "invented" was a guessing game. I graduated to pascal a couple of years after on a PC. The class was for professional adults, most of them engineers by training so I was the only kid. I did not have a PC, so I wrote pascal long hand through the week and then typed when in class. Fun times!
Fun fact, early IBM PCs from the 1980s would actually boot into ROM Microsoft BASIC if you didn't have a DOS floppy in the drive. See around the 5-minute mark in this video.

https://youtu.be/e08YtFdwWxE

I remember a childhood friend explaining to me what programming was. His father was a computer programmer. He said "it's math, but letters can be any number". I remember that phrase because I puzzled over it for a long time as a child trying to figure out how that could make sense and be a job.
I was maybe 5 or 6. My mom was attending University to get her Teaching degree, with a specialization in Education Technology. She often used my brother and I as test subjects and case studies as a part of her school work.

She was showing me LOGO, a kids programming language she was learning about, and getting me to type in commands to move the little triangle turtle around on the screen. I still had trouble remembering which way was left and right, and as the little triangle-turtle rotated on the screen, it became more and more difficult for me to move it the way I wanted as I got confused.

In her art class, she made a little clay turtle - and taped and 'L' and 'R' label on each side of its wide body. I held that clay turtle on my lap, and as I made the digital turtle move about on the screen, I rotated my clay turtle on my lap to match. The clay turtle told me which way was left and right on the screen, so I could continue to move the computer turtle around where I wanted to.

Yes I recall the turtle, thats a blast from the past. Logo was the language, turn left etc. I was jealous because I never had the actual turtle. I think there were hardware tortoises.
Trying to log into a free shell to setup an eggdrop bot for my IRC channel. Had to tickle with a few TCL scripts as well for authenticating with the auth serv, and running a trivia bot in the channel. I was 13-14 years old.
Circa 1990/1991 in 3rd grade we had a discussion on what programming was. Basically, the recipe/make a sandwich thing. The teacher played the dumb computer that took the instructions literally.

At the same time, in the 1980s and into the 1990s, math textbooks (in the US) often had BASIC listings at the end of chapters. I saw it, asked my dad how to type it into the computer, the rest was history.

Would have been the early 80's typing in BASIC games on BBC Micros at school, followed by a VIC-20 my aunt owned that led to getting my own C64 in '85 when I seriously started programming.
School Apple ][ and commodore PET. Writing simple loops in Basic. Bought the 101 computer games book and finally my parents relented and bought a Microbee. I ended up selling a game I wrote for that, but lost or gave away everything in the early 1990s. Recently a conversation on ebay of all places lead me back to a copy of that game and I was able to run it in an emulator. It was written in basic and the source code was back in all its teenage glory. Its...unimpressive but my teensy bit of 8 bit history being preserved like that was quite a surprise.
I remember in Apple IIe sometime in fourth grade being perplexed by a “for” statement. I could make a loop with GOTO (though I didn’t know it was called a “loop”). But I kept coming across FOR in others AppleBasic game.
Early 1970s.

Writing a very small BASIC program that had a loop to print out the loop-number and some text. It was on a set of punched cards and I gave it to a friend who could put it into a university computer.

It ran but I had omitted to have a test to get out the loop so it ran indefinitely till a reset.

I was about 26.