4 ms·
The feedback loop with BASIC was faster. You could execute the program directly from the editor (if not from an interactive prompt, our computer, a Tandy 1000 c
by Jtsummers 6y ago
The feedback loop with BASIC was faster. You could execute the program directly from the editor (if not from an interactive prompt, our computer, a Tandy 1000 circa 1988/1989, didn't have that though). Even without the prompt, it was very close to the REPL experience (write a line or two, hit F5 to run it, see the result, edit, repeat). I didn't come to other languages until later, but even so the feedback loop was just slower: bring up editor, write code, save, compile, run, repeat. That extra bit of friction is noticeable after a while. And then there's just what makes a minimum viable program. In C it's something like:
#include <stdio.h>
int main(void) {
printf("Hello, World!");
return 0;
}
In BASIC it's:
10 PRINT "Hello, World!"
4 extra lines don't seem like much, but to the novice it can be a massive difference. Especially when all that other stuff seems like magic, versus the BASIC program which just gets to the point ("I want to print something, so I tell it to print and it does.").
- blackrock 6y agoI wonder why C didn’t just include stdio.h as a default library?
- pjmlp 6y agoI guess, because compared with other systems programming languages since the early 60's, C grew out of language used to bootstrap compilers and its authors were happy with it being a kind of friendlier macro Assembler.