| ▲ | No Stack Overflow, No Autocomplete: What Coding Felt Like in the 80s(comuniq.xyz) | |||||||||||||
| 16 points by 01-_- an hour ago | 11 comments | ||||||||||||||
| ▲ | robrain 27 minutes ago | parent | next [-] | |||||||||||||
Grab BBC Basic manual (supplied with the computer) off the shelf, switch my Model B on (later Master). Within milliseconds a fresh working environment is created (ie a cursor starts flashing next to a “>”) and I’m off to the races. Hope the tape recorder works to save my work every hour or so. Switch on my Epson fx80 to dump hard copy. Simpler, happier times. | ||||||||||||||
| ||||||||||||||
| ▲ | donatj 25 minutes ago | parent | prev | next [-] | |||||||||||||
I did an independent study of C in high school in 2003. I sat at a non-internet-connected terminal in the back of the TechED room and typed examples from the provided book into a very simple editor. Sometimes they compiled and worked. Sometimes they did not work despite being to all appearances character for character the same as the book, and I was often left with no idea why. It was not an entirely unfamiliar experience. I had a Mattel Aquarius as a young child and spent countless hours typing games in from the back of the manual before attempting to save them to cassette. | ||||||||||||||
| ▲ | prologic 17 minutes ago | parent | prev | next [-] | |||||||||||||
> But something also got lost along the way, and it's that obligation to read slowly, to understand every line because there was no shortcut available Not really sure what got "lost" here. But fundamentally nothing has really changed much, except for deeper abstractions, more powerful tools and the cost of "generating" (or producing) code approaching near zero (if you discount the cost of subscriptions to Claude/Codex, etc and the underlying costs of running those st scale). You still have to understand, and read every line. Although now we just get tools to do so for us. But the understanding is still a requirement. | ||||||||||||||
| ▲ | comrade1234 38 minutes ago | parent | prev | next [-] | |||||||||||||
I had a project at a private bank where we couldn't use the internet - we had to turn our phones in when we checked in, had to use their computers on their network, couldn't access the outside internet... we did have access to api documents electronically thankfully. If we wanted to update a library it had to go through a big security review that took weeks. It slowed work down a lot but was totally fine - the bank was paying us tons of money hourly. | ||||||||||||||
| ▲ | jasode 17 minutes ago | parent | prev | next [-] | |||||||||||||
Author is talking about manually typing in by hand the hundreds (or even thousands) of lines of code from magazines like COMPUTE!: https://www.google.com/search?q=compute%21+magazine+code+lis... It's interesting how different people view the past. I also used to spend hours and days typing in all that BASIC code but I don't look back on it with romantic nostalgia. We were forced to do that simply because modems and floppy disks were expensive in the 1980s. The reason magazine subscribers endured it was because most of us were kids (which means we had more free time than money) and the reward was usually a "free" game when it was done. We just mindlessly type in endless PEEK and POKE syntax which was just gibberish to get a video game out of it. (Some of the code listings were for "serious" things like spreadsheets but the vast majority was for games.) I certainly didn't learn programming or patience by typing in PEEK/POKE for seemingly-random memory locations. To help reduce the inevitable typos and frustrating mistakes made by readers, the later magazines had a "checksum" utility to help: https://en.wikipedia.org/wiki/The_Automatic_Proofreader And after that, magazines also offered to mail floppy disks with all the code listings for an extra price. (The selling point was "No Need To Type In The Code!") These days, we complain when other programmers "cargo-cult" code by copy-pasting from StackOverflow (or LLM these days) without truly understanding it. Well, that's what us kids did in 1980s ... just cargo-culted the whole BASIC code listing to play a game. Sure, there were a small minority that actually studied the magazine's BASIC code line-by-line to really understand it but none of us in our computer club did that. Just last week, I spent several hours reading the rsync C Language source code line-by-line so I could write a custom patch to add nanoseconds to the file creation dates. Dissecting that took a lot more patience and focus than typing in code listings from a magazine. | ||||||||||||||
| ▲ | opengrass 24 minutes ago | parent | prev | next [-] | |||||||||||||
Copying scripts from books is still the best way to learn, and still the only choice in some areas. | ||||||||||||||
| ▲ | nubinetwork an hour ago | parent | prev | next [-] | |||||||||||||
Maybe not 80s, but I vaguely remember visual basic 4 having autocomplete... | ||||||||||||||
| ||||||||||||||
| ▲ | TacticalCoder an hour ago | parent | prev [-] | |||||||||||||
> Debugging, back then, was an almost physical thing. Comparing character by character what was on screen against what was printed on the page. Realizing that the "1" that looked like a lowercase "l" had tricked you for half an hour. And the 0 and 8. And this was used by some copy-protection to try to prevent reverse engineering. Back then real debuggers (by "real debugger" I mean not just "debugging in your head": but an actual, although very minimal, debugger) were very simplistic too, and so you'd read everything line by line, keeping in your head what the program was doing, was the register contained, what subroutines would do etc. And then you'd have "tricks" by the copy protection where that line with a '0' you just analyzed a few commands before would turn, sneakily, into a '8' (maybe by a function or a side effect of a command etc.). And when we'd spot it we'd be: "Wait dude, did you notice how sneaky it is, this actually turns the 0 into an 8, so the next this execute, everything shall be corrupt" (or something like that). And so debuggers got enhanced: for example if anything on screen got modified, the modified value would flash than stay in green. Stuff like that. Our tools were much more basic. But then we learned to eat 68x00 and x86 opcodes for breakfast. | ||||||||||||||