Earlier quoted context omitted.
I really think there's something magical about beginners typing in whole projects by hand (instead of the modern copy-paste). It really helped me when I was getting started with programming. To me, it feels like typing each character manually cements the knowledge in there much deeper than 'oh, I think I understand what I'm copy/pasting.' Maybe that's a shallow truism by now, but I still see people struggling to lear…
That's a smart take. Even today when I'm learning something new I try to do as much physical typing as possible from the example because I feel like I learn it better.
BASIC Computer Games
81–90 of 124 posts
Re: BASIC Computer Games
#82Earlier quoted context omitted.
Most of the lines I typed in where "2050 data 100,98,0,0,45,128,..." up to the maximum line length (256 character?) at which point it was "2060 data...." Nothing to learn there. I suppose I could look up each opcode and figure it out, but even then there were no names to guide me as to what anything means.
You were either typing in mostly game code (with a simple BASIC HEX ML loader), or were using a machine with a limited form of BASIC that didn't allow for easy graphics manipulation (the C=64 and VIC-20 were famous in this regard). While I recall doing the same on my machine (TRS-80 Color Computer) - it was usually to get functionality that was lacking otherwise. I recall having to type a ton of DATA statements for a…
I was doing this on an Atari 400. There was plenty of power available from BASIC to get at the graphics and sound, but there wasn't the speed. BASIC was an interpreted language and so you had to drop to assembly to get enough speed for a large program to not feel slow.
Re: BASIC Computer Games
#83Earlier quoted context omitted.
Nice! My Commodore PET had a tape cassette drive. It was SOO unreliable.
My first machine was a TRS-80 Color Computer 2 with a cassette tape drive; compared to the PET, due to the "generation difference" (probably in the encoding method?) - plus Radio Shack - it's cassette storage was actually really reliable. People are still pulling old software and data off of some of their old CoCo tapes, what little problems there are typically can be solved by dumping to digital file and editing in…
Re: BASIC Computer Games
#84Then I moved on to a PC JR with Cartridge Basic and after that QuickBasic on Windows 3.1.
Fun times.
Re: BASIC Computer Games
#85Re: BASIC Computer Games
#86all those gotos could cause some serious harm
Back then, you didn't have a choice. Most microcomputer BASICs did not have any other kind of "infinite" looping construct beyond a GOTO. FOR-NEXT was about the only other option. There wasn't a WHILE or a DO-UNTIL construct in those BASICs, with the exception of (IIRC) or the BASIC used in the MSX systems (which didn't see much action outside of Japan) and in BBC BASIC (it was probably the best BASIC out there along…
Re: BASIC Computer Games
#87Dawww. I had this book when it came out and used to type the programs into my Commodore PET by hand! Boy does this bring back memories.
I had it too, but typed them into my Atari 800 - after which I'd save it to cassette tape.
Every time I turned the power off or wanted to try a different program I had to start from scratch.
Re: BASIC Computer Games
#88No donkey.bas? :)
I guess Gorillas and Nibbles didn't come with that book from the article, but with MS-DOS, so to have it with the book would have been a waste of space as they were already present on most systems
Re: BASIC Computer Games
#89Dawww. I had this book when it came out and used to type the programs into my Commodore PET by hand! Boy does this bring back memories.
I really think there's something magical about beginners typing in whole projects by hand (instead of the modern copy-paste). It really helped me when I was getting started with programming. To me, it feels like typing each character manually cements the knowledge in there much deeper than 'oh, I think I understand what I'm copy/pasting.' Maybe that's a shallow truism by now, but I still see people struggling to lear…
I get what they're saying (probably from dealing with too much rote school work in the past), programming is more about critical thinking than memory, but it really helps to have the core constructs memorized in a language. If you have to google "loops in python" every time, it's not going to go well.
Re: BASIC Computer Games
#90Earlier quoted context omitted.
Typing in a program from a paper source forces you to think about each line you're entering, it's more than just a 'slow way to distribute a program', it's also a teaching exercise along the same lines as how writing your notes in class are part of the learning exercise that reinforces your mental model of the subject.
Funny enough, this is my PhD research. Granted, I do agree that the examples should be more meaningful; however, offering students worked examples as typing examples to better train them on syntax errors is the general feel.
Really, you type in codes/programs from paper printouts for your PhD? I knew that some programming communities in academia still clung to old habits and way of doing things, but not like that!