Re:Birth of BASIC (2014) [video]
by Jtsummers on Tuesday July 14, 2020 @12:42PM
(#23834218)
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:
In BASIC it's:
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.").
[ Parent
| on HN ]
I wonder why C didn’t just include stdio.h as a default library?
I 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.