WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2024 Poal.co

589
https://twiiit.com/nixcraft/status/1482651053619544070#m

(post is archived)

[–] 2 pts

While I agree in some part, most of those examples aren't actually programs. Issuing a statement to print a string at the prompt is not the same thing as a program. BASIC allows you to add the program line number to the print statement and now it is a fully runnable, re-runnable and re-entrant program. How would you re-run the Lisp, shell, AWK, Python, Ruby or Java "Hello world" script? You would have to retype it or make us of line recall in the shell. Same goes with editing the program. Only the C example qualifies as a program, but of course it has to include the main loop in order to do that whereas BASIC only needed the line number and print statement to be a fully qualified program.

[+] [deleted] 1 pt