by danieltillett · 9y ago · 0 comments
Of course not having a printer meant the only way you could understand the now totally tangled spaghetti code was to keep all of it in your youthful short-term memory. Having nobody you could ask or learn from just added to the toxic mix.
Even now thirty years later the thought of programming like this makes me feel ill.
http://www.colorcomputerarchive.com/coco/Documents/Manuals/H...
As a kid (and I still own them) I had a Color Computer 2 and 3 - I programmed a ton of things on them, which ultimately led me to where I am today as a software engineer.
Ummm, don't feel bad, you actually needed to. Each character of those variable names takes up RAM.
Not to mention that at least on the C64, only the first two characters are significant anyway, ie, 'abba', 'ab', and 'abcd' all refer to the same variable.
10 REM main routine
20 REM do stuff
1000 REM another routine
1010 REM do other stuff
2000 REM a 3rd routine
Then have GOSUBs / GOTOs using the n*1000 as the entry point into that routine. RENUMing the source when you've got the aforementioned structure was not an option.[1] (what a horrible link) http://www.cpcwiki.eu/index.php/Locomotive_BASIC#RENUM_.5B.E...
I still remember trying to work out how to program in machine code by poking different values into memory. I had my own guide on what values to avoid and what values worked without having the slightest idea what I was doing.
[1] https://duckduckgo.com/?q=sharp+pocket+pc&t=ffab&iar=images&...
It was always a pain because instruction-length varied and you had to account for the length when calculating the number of bytes to jump forwards/backwards. (I tended to prefer relative-jumps to absolute ones, but either way the same problem remained.)