Ancient Code

I am a pack rat. I keep anything and everything in the vague hope that I might need it someday. It doesn’t help when something like that does happen, and I DO need something. Then I feel vindicated and it only serves to re-enforce the behaviour. But anyway, I have these computer disks that are more than 11 years old. They are from 1994. They contain a bunch of GW-BASIC programs that I wrote. The disks are pretty damn old, and almost falling to pieces. I last used one (the one with all my code) about two years ago and did a directory listing. The only thing that did was screw it up even more. It’s now impossible to access the disk. But anyway, that’s on stupid Windows systems. I knew that I could still access data if I really wanted to – raw data. I put the disk into my FreeBSD machine and ran a dd command, while ignoring errors. It took a long time, but finally it dumped all my data out to a file. I then ran a strings command on it to get text. It was like a time-capsule. I saw all this code that I had writted more than a decade ago. I had been programming for at least two or three years then, but 1994 was when I wrote the most code, I think. I went out of my way to make the output messages from my program sound professional. But well, actually it all sounded kinda funny. However, if I hadn’t done any of that, I wouldn’t be where I am right now and I wouldn’t be doing what I do now. This was where it all started… where I became a programmer. Anyway, here are some snippets, along with my comments:
Read the rest of this entry »